Thread: Foot pedal USB w/ Keyboard HID, Remapping second keyboard to custom keys
hey all,
i've purchased foot pedal usb device ebay, , appears interface keyboard rather joystick.
appears device using keyboard protocol (see lspci dump below).
currently, without configuration, tapping pedals results in equivalent of pressing keys b or c depending on pedal pressed - fine needs.
i'm wondering, how go re-mapping keys 1 specific usb device keys of choice? i'm hoping bind these events in ratpoison wm eventually, means can pretty key, given need current keyboards a, b , c keys function correctly, things little complicated... i'm scratching head start on one, advice appreciated![]()
- fragged
edit: lspci dump
code:bus 007 device 003: id 0c45:7403 microdia device descriptor: blength 18 bdescriptortype 1 bcdusb 2.00 bdeviceclass 0 (defined @ interface level) bdevicesubclass 0 bdeviceprotocol 0 bmaxpacketsize0 8 idvendor 0x0c45 microdia idproduct 0x7403 bcddevice 0.01 imanufacturer 1 rding iproduct 2 footswitchv1.0 iserial 0 bnumconfigurations 1 configuration descriptor: blength 9 bdescriptortype 2 wtotallength 59 bnuminterfaces 2 bconfigurationvalue 1 iconfiguration 0 bmattributes 0xa0 (bus powered) remote wakeup maxpower 100ma interface descriptor: blength 9 bdescriptortype 4 binterfacenumber 0 balternatesetting 0 bnumendpoints 1 binterfaceclass 3 human interface device binterfacesubclass 1 boot interface subclass binterfaceprotocol 1 keyboard iinterface 0 hid device descriptor: blength 9 bdescriptortype 33 bcdhid 1.10 bcountrycode 0 not supported bnumdescriptors 1 bdescriptortype 34 report wdescriptorlength 119 report descriptors: ** unavailable ** endpoint descriptor: blength 7 bdescriptortype 5 bendpointaddress 0x81 ep 1 in bmattributes 3 transfer type interrupt synch type none usage type data wmaxpacketsize 0x0008 1x 8 bytes binterval 10 interface descriptor: blength 9 bdescriptortype 4 binterfacenumber 1 balternatesetting 0 bnumendpoints 1 binterfaceclass 3 human interface device binterfacesubclass 1 boot interface subclass binterfaceprotocol 2 mouse iinterface 0 hid device descriptor: blength 9 bdescriptortype 33 bcdhid 1.10 bcountrycode 0 not supported bnumdescriptors 1 bdescriptortype 34 report wdescriptorlength 41 report descriptors: ** unavailable ** endpoint descriptor: blength 7 bdescriptortype 5 bendpointaddress 0x82 ep 2 in bmattributes 3 transfer type interrupt synch type none usage type data wmaxpacketsize 0x0008 1x 8 bytes binterval 10 device status: 0x0000 (bus powered)
did find answer ? i'm in same situation... help.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [all variants] Foot pedal USB w/ Keyboard HID, Remapping second keyboard to custom keys
Ubuntu
Comments
Post a Comment