hid-device

How to capture raw HID input on linux?

空扰寡人 提交于 2019-12-31 08:17:31
问题 Short version of what I want to accomplish : I have a foot pedal (INFINITY-IN-USB-1, if that's of any interest) that is implemented as a generic HID device, and I would like it to be behave as control and alt keys on linux. I'm looking for something on the level on X, i.e. not just individual programs. Longer version : I have this setup working in Windows XP by calling dll RegisterRawInputDevices and GetRawInputData and listening to the input in a hidden windows. All is accomplished with a

How to capture raw HID input on linux?

佐手、 提交于 2019-12-02 14:18:25
Short version of what I want to accomplish : I have a foot pedal (INFINITY-IN-USB-1, if that's of any interest) that is implemented as a generic HID device, and I would like it to be behave as control and alt keys on linux. I'm looking for something on the level on X, i.e. not just individual programs. Longer version : I have this setup working in Windows XP by calling dll RegisterRawInputDevices and GetRawInputData and listening to the input in a hidden windows. All is accomplished with a fairly straightforward Autohotkey script (can post here if anyone is interested). The point is, there is