clean funkey shutdown instead of previous command poweroff

This commit is contained in:
Vincent-FK 2020-01-15 21:51:54 +08:00
parent 32a6c31d2f
commit b95e1d3055
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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"
/**************************************************************** /****************************************************************