diff options
-rw-r--r-- | data/keyboards/Vendor_18d1_Product_2c40.kl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/data/keyboards/Vendor_18d1_Product_2c40.kl b/data/keyboards/Vendor_18d1_Product_2c40.kl index 6efde4fa2cbc..2b42f871b0a2 100644 --- a/data/keyboards/Vendor_18d1_Product_2c40.kl +++ b/data/keyboards/Vendor_18d1_Product_2c40.kl @@ -20,13 +20,9 @@ key 307 BUTTON_X key 308 BUTTON_Y key 310 BUTTON_L1 key 311 BUTTON_R1 -key 316 BUTTON_MODE key 317 BUTTON_THUMBL key 318 BUTTON_THUMBR -key 158 BACK -key 172 HOME - axis 0x00 X axis 0x01 Y axis 0x02 Z @@ -40,3 +36,14 @@ led 0x00 CONTROLLER_1 led 0x01 CONTROLLER_2 led 0x02 CONTROLLER_3 led 0x03 CONTROLLER_4 + +# The next 2 buttons do not follow Linux standard because this behaviour was specified by the UX +# Left arrow to the immediate left of the power button +key 158 BACK +# Circle to the immediate right of the power button +key 172 HOME + + +# Mapping according to https://www.kernel.org/doc/Documentation/input/gamepad.txt +# Power button +key 316 BUTTON_MODE |