# Logitech - WingMan Precision # courtesy of Arnaudv6 # using getevent -p (evtest replacement) utility # https://source.android.com/devices/input/key-layout-files.html # http://blogsitewithalongaddress.blogspot.fr/?view=timeslide # place it in /system/usr/keylayout # have it a chown root:root # change permissions too key 0x120 BUTTON_A key 0x121 BUTTON_B key 0x122 BUTTON_X key 0x123 BUTTON_Y key 0x124 BUTTON_L1 key 0x125 BUTTON_R1 axis 0x00 X flat 15 axis 0x01 Y flat 15 #key 192 LTRIGGER #key 193 RTRIGGER #key 314 BUTTON_SELECT #key 315 BUTTON_START #key 19 DPAD_UP #key 20 DPAD_DOWN #key 21 DPAD_LEFT #key 22 DPAD_RIGHT