Following this guide: http://www.vxnick.com/blog/2014/10/binding-extra-mouse-buttons-on-linux/I've set up a config file:$ lsusb | grep G500Bus 006 Device 007: ID 046d:c068 Logitech, Inc. G500 Laser Mouse$ cat /etc/udev/hwdb.d/70-g500.hwdb keyboard:usb:v046DpC068*  KEYBOARD_KEY_90009=9  KEYBOARD_KEY_9000a=8  KEYBOARD_KEY_90006=0Based on the following evtest output:Event: time 1422711060.272136, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009Event: time 1422711060.272136, type 1 (EV_KEY), code 280 (?), value 1Event: time 1422711060.272136, -------------- EV_SYN ------------Event: time 1422711060.432134, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009Event: time 1422711060.432134, type 1 (EV_KEY), code 280 (?), value 0Event: time 1422711060.432134, -------------- EV_SYN ------------Event: time 1422711061.461191, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000aEvent: time 1422711061.461191, type 1 (EV_KEY), code 281 (?), value 1Event: time 1422711061.461191, -------------- EV_SYN ------------Event: time 1422711061.628125, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000aEvent: time 1422711061.628125, type 1 (EV_KEY), code 281 (?), value 0Event: time 1422711061.628125, -------------- EV_SYN ------------Event: time 1422711062.725119, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006Event: time 1422711062.725119, type 1 (EV_KEY), code 277 (BTN_FORWARD), value 1Event: time 1422711062.725119, -------------- EV_SYN ------------Event: time 1422711062.902137, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006Event: time 1422711062.902137, type 1 (EV_KEY), code 277 (BTN_FORWARD), value 0And yet I get no keypresses (Or change in evtest output) when I'm done.(Yes I've done udevadm hwdb --update/trigger)
Mapping mouse buttons with udev hwdb
udev