Skip to content

Commit

Permalink
pro1x: Remove Sym mappings from layouts
Browse files Browse the repository at this point in the history
Pro1 layouts mapped Sym, which had no stock functionality, to wakeup and
alt+Sym to trigger backlight/reorientation (as a workaround for stock
firmware sometimes forgetting those).

However, wakeup no longer works on Pro1 X and it is not known if the
backlight workaround is needed, either, and the Sym button seems to have
some stock functionality (keyboard setup is brought up).

Remove the Sym mappings from Pro1 X layouts for now, until need arises.
  • Loading branch information
anssih committed Oct 2, 2022
1 parent e874f8c commit d5dc77b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 33 deletions.
11 changes: 0 additions & 11 deletions finqwerty/src/main/res/raw/pro1x_qwerty_cze_2.kcm
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ type OVERLAY
# orig BACK
map key 158 ESCAPE

# orig SYM but SYM does not do anything at the moment
# so use as back/wakeup for now
map key 249 WAKEUP

# map alt+sym = F6 (which signals keyboard open), allowing one to press alt+sym
# to trigger enabling keyboard backlight and screen rotation as sometimes the
# Pro1 stock OS seems to lose the keyboard open state
key WAKEUP {
alt: replace F6
}

# Y/Z swap
map key 21 Z
map key 44 Y
Expand Down
11 changes: 0 additions & 11 deletions finqwerty/src/main/res/raw/pro1x_qwerty_dan_1.kcm
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ type OVERLAY
# orig BACK
map key 158 ESCAPE

# orig SYM but SYM does not do anything at the moment
# so use as back/wakeup for now
map key 249 WAKEUP

# map alt+sym = F6 (which signals keyboard open), allowing one to press alt+sym
# to trigger enabling keyboard backlight and screen rotation as sometimes the
# Pro1 stock OS seems to lose the keyboard open state
key WAKEUP {
alt: replace F6
}

# ROW 1

key 1 {
Expand Down
11 changes: 0 additions & 11 deletions finqwerty/src/main/res/raw/pro1x_qwerty_usa_1.kcm
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ type OVERLAY
# orig BACK
map key 158 ESCAPE

# orig SYM but SYM does not do anything at the moment
# so use as back/wakeup for now
map key 249 WAKEUP

# map alt+sym = F6 (which signals keyboard open), allowing one to press alt+sym
# to trigger enabling keyboard backlight and screen rotation as sometimes the
# Pro1 stock OS seems to lose the keyboard open state
key WAKEUP {
alt: replace F6
}

# ROW 1

key ESCAPE {
Expand Down
5 changes: 5 additions & 0 deletions generate_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@
NAME: f"pro1x_qwertz_{name}.kcm",
SOURCE: f"pro1_qwertz_{name}.kcm",
REPLACE: PRO1_PRO1X_REPLACE,
# Remove Sym = WAKEUP assignment, it does not work on Pro1X stock OS
# and the Sym has some stock functionality (keyboard layout setup).
REMOVE_SCANCODES: [
249, # Sym
],
} for name in QWERTZ_LAYOUTS
]

Expand Down

0 comments on commit d5dc77b

Please sign in to comment.