Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions system/usr/keylayout/Vendor_054c_Product_0268.kl
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,40 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License ,this is edited btw.

#
# Sony Playstation(R)3 Controller
#

key 0x124 DPAD_UP
key 0x125 DPAD_RIGHT
key 0x126 DPAD_DOWN
key 0x127 DPAD_LEFT
key 544 DPAD_UP
key 547 DPAD_RIGHT
key 545 DPAD_DOWN
key 546 DPAD_LEFT

key 0x120 BUTTON_SELECT
key 0x123 BUTTON_START
key 0x12e BUTTON_A
key 0x12d BUTTON_B
key 0x12f BUTTON_X
key 0x12c BUTTON_Y
key 0x12a BUTTON_L1
key 0x12b BUTTON_R1
key 0x128 BUTTON_L2
key 0x129 BUTTON_R2
key 0x121 BUTTON_THUMBL
key 0x122 BUTTON_THUMBR
key 314 BUTTON_SELECT
key 315 BUTTON_START
key 304 BUTTON_A
key 305 BUTTON_B
key 308 BUTTON_X
key 307 BUTTON_Y
key 310 BUTTON_L1
key 311 BUTTON_R1
key 312 BUTTON_L2
key 313 BUTTON_R2
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR

# PS key
key 0x2c0 HOME
key 316 HOME

# Left Analog Stick
axis 0x00 X
axis 0x01 Y

# Right Analog Stick
axis 0x02 Z
axis 0x05 RZ
axis 0x03 Z
axis 0x04 RZ

# DPAD
# axis 0x2c -HAT_Y
Expand All @@ -52,10 +52,10 @@ axis 0x05 RZ
# axis 0x2f -HAT_X

# L2 trigger
axis 0x30 LTRIGGER
axis 0x30 LTRIGGER

# R2 trigger
axis 0x31 RTRIGGER
axis 0x31 RTRIGGER

# L1 trigger
# axis 0x32
Expand Down