Using computer keyboard in PD in headless autologin console mode

I have a PD patch that uses the computer keyboard to trigger sounds.
I would like to use it in autoboot mode without the desktop.
But it seems that without the desktop the computer keyboard is not working.
Is there a way to enable keyboard support in de console autologin PD module ?

It depends on how the keyboard reading is done - if itā€™s accessing the raw input event device directly, it should be possible, it could also ā€˜grabā€™ it, so the input goes exclusively to the PD process and nothing into the console.

If itā€™s implemented in some other way, like through some GUI APIs, then it wonā€™t work without desktop.

Thanks!
Iā€™m simply using the key object in PD.
Could you point me to a way to get te raw input or or grab the keyboard?

I donā€™t know of which object to use instead, Iā€™d look for some PD external library dealing with HID (human input devices) or keyboards explicitly.

ā€œsudo apt-get install pd-hidā€ and then in PD [hid] object

gl

1 Like