Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JS_BUTTON to keycodes #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
33 changes: 33 additions & 0 deletions src/main/python/keycodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,39 @@ def LT(layer):
K(130, "KC_LCAP", "Locking\nCaps", "Locking Caps Lock", alias=["KC_LOCKING_CAPS"]),
K(131, "KC_LNUM", "Locking\nNum", "Locking Num Lock", alias=["KC_LOCKING_NUM"]),
K(132, "KC_LSCR", "Locking\nScroll", "Locking Scroll Lock", alias=["KC_LOCKING_SCROLL"]),

K(0x5D09, "JS_BUTTON0", "Joystick\n0", "Joystick Button 0"),
K(0x5D0A, "JS_BUTTON1", "Joystick\n1", "Joystick Button 1"),
K(0x5D0B, "JS_BUTTON2", "Joystick\n2", "Joystick Button 2"),
K(0x5D0C, "JS_BUTTON3", "Joystick\n3", "Joystick Button 3"),
K(0x5D0D, "JS_BUTTON4", "Joystick\n4", "Joystick Button 4"),
K(0x5D0E, "JS_BUTTON5", "Joystick\n5", "Joystick Button 5"),
K(0x5D0F, "JS_BUTTON6", "Joystick\n6", "Joystick Button 6"),
K(0x5D10, "JS_BUTTON7", "Joystick\n7", "Joystick Button 7"),
K(0x5D11, "JS_BUTTON8", "Joystick\n8", "Joystick Button 8"),
K(0x5D12, "JS_BUTTON9", "Joystick\n9", "Joystick Button 9"),
K(0x5D13, "JS_BUTTON10" "Joystick\n10", "Joystick Button 10"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commas missing from here

K(0x5D14, "JS_BUTTON11" "Joystick\n11", "Joystick Button 11"),
K(0x5D15, "JS_BUTTON12" "Joystick\n12", "Joystick Button 12"),
K(0x5D16, "JS_BUTTON13" "Joystick\n13", "Joystick Button 13"),
K(0x5D17, "JS_BUTTON14" "Joystick\n14", "Joystick Button 14"),
K(0x5D18, "JS_BUTTON15" "Joystick\n15", "Joystick Button 15"),
K(0x5D19, "JS_BUTTON16" "Joystick\n16", "Joystick Button 16"),
K(0x5D1A, "JS_BUTTON17" "Joystick\n17", "Joystick Button 17"),
K(0x5D1B, "JS_BUTTON18" "Joystick\n18", "Joystick Button 18"),
K(0x5D1C, "JS_BUTTON19" "Joystick\n19", "Joystick Button 19"),
K(0x5D1D, "JS_BUTTON20" "Joystick\n20", "Joystick Button 20"),
K(0x5D1E, "JS_BUTTON21" "Joystick\n21", "Joystick Button 21"),
K(0x5D1F, "JS_BUTTON22" "Joystick\n22", "Joystick Button 22"),
K(0x5D20, "JS_BUTTON23" "Joystick\n23", "Joystick Button 23"),
K(0x5D21, "JS_BUTTON24" "Joystick\n24", "Joystick Button 24"),
K(0x5D22, "JS_BUTTON25" "Joystick\n25", "Joystick Button 25"),
K(0x5D23, "JS_BUTTON26" "Joystick\n26", "Joystick Button 26"),
K(0x5D24, "JS_BUTTON27" "Joystick\n27", "Joystick Button 27"),
K(0x5D25, "JS_BUTTON28" "Joystick\n28", "Joystick Button 28"),
K(0x5D26, "JS_BUTTON29" "Joystick\n29", "Joystick Button 29"),
K(0x5D27, "JS_BUTTON30" "Joystick\n30", "Joystick Button 30"),
K(0x5D28, "JS_BUTTON31" "Joystick\n31", "Joystick Button 31"),
]

KEYCODES_TAP_DANCE = []
Expand Down