From 4367bc91c065ee41eba2f0c718e576808e9a59dd Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 4 Mar 2012 14:35:35 +0000 Subject: update from ICS 4.0.0 Revolver, actually --- keylayout/Vendor_054c_Product_0268.kl | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'keylayout/Vendor_054c_Product_0268.kl') 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 -- cgit v1.2.3