Skip to content

Commit 36d4d42

Browse files
committed
fwk/sunflower: Remove unimplemented FN+S
There is no need for the FN+S shortcut. The PRT SCR key works as sysrq. This is the same as on QMK with `KC_PRINT_SCREEN` ``` > sudo libinput debug-events --show-keycodes | grep KEYBOARD_KEY -event2 KEYBOARD_KEY +4.295s KEY_SYSRQ (99) pressed event2 KEYBOARD_KEY +0.067s KEY_SYSRQ (99) released ``` BUG=Customer was asking why FN+S wasn't working on 13in. BRANCH=fwk-main TEST=`zmake build sunflower` Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 5ba1d9b commit 36d4d42

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

zephyr/program/framework/sunflower/src/keyboard_customization.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,7 @@ int hotkey_F1_F12(uint16_t *key_code, uint16_t fn, int8_t pressed)
380380
}
381381
break;
382382
case SCANCODE_F11:
383-
/*
384-
* TODO this might need an
385-
* extra key combo of:
386-
* 0xE012 0xE07C to simulate
387-
* PRINT_SCREEN
388-
*/
383+
/* Print screen / SYSRQ */
389384
if (fn_table_media_set(pressed, KB_FN_F11))
390385
*key_code = 0xE07C;
391386
break;
@@ -414,10 +409,6 @@ int hotkey_special_key(uint16_t *key_code, int8_t pressed)
414409
if (fn_table_set(pressed, KB_FN_K))
415410
*key_code = SCANCODE_SCROLL_LOCK;
416411
break;
417-
case SCANCODE_S: /* TODO: SYSRQ */
418-
/*if (!fn_table_set(pressed, KB_FN_S))*/
419-
420-
break;
421412
case SCANCODE_LEFT: /* HOME */
422413
if (fn_table_set(pressed, KB_FN_LEFT))
423414
*key_code = 0xe06c;

0 commit comments

Comments
 (0)