summaryrefslogtreecommitdiff
path: root/keylayout/Vendor_054c_Product_0268.kl
diff options
context:
space:
mode:
Diffstat (limited to 'keylayout/Vendor_054c_Product_0268.kl')
-rw-r--r--keylayout/Vendor_054c_Product_0268.kl23
1 files changed, 15 insertions, 8 deletions
diff --git a/keylayout/Vendor_054c_Product_0268.kl b/keylayout/Vendor_054c_Product_0268.kl
index f8ac6a3..cc31980 100644
--- a/keylayout/Vendor_054c_Product_0268.kl
+++ b/keylayout/Vendor_054c_Product_0268.kl
@@ -15,27 +15,34 @@
#
# Sony Playstation(R)3 Controller
#
+# NVIDIA Normalized Gamepad
key 0x124 DPAD_UP
key 0x125 DPAD_RIGHT
key 0x126 DPAD_DOWN
key 0x127 DPAD_LEFT
-key 0x120 BUTTON_SELECT
+# Button "Select" maps to BACK.
+key 0x120 BACK
key 0x123 BUTTON_START
-key 0x12f BUTTON_A
-key 0x12c BUTTON_B
-key 0x12e BUTTON_X
-key 0x12d BUTTON_Y
+# Button with square image maps to BUTTON_X, due to placement analogy.
+key 0x12f BUTTON_X
+# Button with triangle image maps to BUTTON_Y, due to placement analogy.
+key 0x12c BUTTON_Y
+# Button with cross image maps to BUTTON_A, due to placement analogy.
+key 0x12e BUTTON_A
+# Button with circle image maps to BUTTON_B, due to placement analogy.
+key 0x12d BUTTON_B
key 0x12a BUTTON_L1
key 0x12b BUTTON_R1
key 0x128 BUTTON_L2
key 0x129 BUTTON_R2
+# These two keycodes are for click (press from above) on analog sticks.
key 0x121 BUTTON_THUMBL
key 0x122 BUTTON_THUMBR
-# PS key
-key 0x2d0 BUTTON_1
+# Button with PlayStation logo maps to HOME
+key 0x2d0 HOME
# Left Analog Stick
axis 0x00 X
@@ -45,7 +52,7 @@ axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
-# DPAD
+# D-pad axes
# axis 0x2c -HAT_Y
# axis 0x2d +HAT_X
# axis 0x2e +HAT_Y