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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to