mirror of
https://github.com/FunKey-Project/FunKey-GPIO-Mapping.git
synced 2025-12-13 10:18:54 +01:00
clean funkey shutdown instead of previous command poweroff
This commit is contained in:
parent
32a6c31d2f
commit
b95e1d3055
@ -51,7 +51,7 @@
|
|||||||
7+13, KEYBOARD, KEY_W, KEY_W, Brightness--
|
7+13, KEYBOARD, KEY_W, KEY_W, Brightness--
|
||||||
11, KEYBOARD, KEY_Y, KEY_Y, Y
|
11, KEYBOARD, KEY_Y, KEY_Y, Y
|
||||||
7+11, KEYBOARD, KEY_C, KEY_C, Volume++
|
7+11, KEYBOARD, KEY_C, KEY_C, Volume++
|
||||||
10, SHELL_COMMAND, poweroff, N_OE, Poweroff because N_OE_received
|
10, SHELL_COMMAND, shutdown_funkey, N_OE, Poweroff because N_OE_received
|
||||||
#10, KEYBOARD, KEY_T, KEY_T, Should Poweroff because N_OE_received
|
#10, KEYBOARD, KEY_T, KEY_T, Should Poweroff because N_OE_received
|
||||||
|
|
||||||
# Bypass to remove when button axp working:
|
# Bypass to remove when button axp working:
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
#define KEY_IDX_MAPPED_FOR_SHORT_PEK_PRESS 16 //KEY_Q
|
#define KEY_IDX_MAPPED_FOR_SHORT_PEK_PRESS 16 //KEY_Q
|
||||||
#define KEY_IDX_MAPPED_FOR_LONG_PEK_PRESS 28 //KEY_ENTER
|
#define KEY_IDX_MAPPED_FOR_LONG_PEK_PRESS 28 //KEY_ENTER
|
||||||
#define SHELL_CMD_LONG_PEK_PRESS "poweroff"
|
#define SHELL_CMD_LONG_PEK_PRESS "shutdown_funkey"
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user