Need to intercept HID Keyboard events (and then block them)

后端 未结 3 1778
囚心锁ツ
囚心锁ツ 2020-12-13 10:51

I\'ve got a RFID USB device that registers as a HID device (A USB Keyboard more or less).

I\'m looking for a way to capture this input, and block/filter it before it

3条回答
  •  醉酒成梦
    2020-12-13 11:18

    Ungrabbing requires a "false" value parameter, as below:

    result = ioctl(fevdev, EVIOCGRAB, 0);
    

提交回复
热议问题