[PD] use 2nd keyboard for note and control input to pd even when other apps have focus

IOhannes m zmölnig zmoelnig at iem.at
Wed Sep 13 23:59:42 CEST 2023


On 9/13/23 18:13, Billy Stiltner wrote:
> hey, i remember a long time ago maybe Miller or Hans told us how to use
> maybe xinput or hid or somethin to keep keyboard mouse input going to one
> program even ifvanother program has focus.
> Anyone remember how to do that on linux?

i typically use [hid] for such things.

1. detach your device from xinput
  - `xinput --list` to get the name (and/or ID) of your device
  - `xinput disable <id>` (or <name>)
2. get the device id to use with [hid]
   - `lsusb` to get the <vendor>:<device> ID (6th column; it's two 
4-digit hexcodes, separated by colon), e.g. `045e:0084`
3. use the ID to open the device with [hid]
   - [open 0x045e 0x0084, 1(->[hid]

mfsdar
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230913/a6a6b7e5/attachment.sig>


More information about the Pd-list mailing list