Skip to content
This repository was archived by the owner on Apr 28, 2021. It is now read-only.

Commit b95e1d3

Browse files
committed
clean funkey shutdown instead of previous command poweroff
1 parent 32a6c31 commit b95e1d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

funkey_gpio_mapping.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
7+13, KEYBOARD, KEY_W, KEY_W, Brightness--
5252
11, KEYBOARD, KEY_Y, KEY_Y, Y
5353
7+11, KEYBOARD, KEY_C, KEY_C, Volume++
54-
10, SHELL_COMMAND, poweroff, N_OE, Poweroff because N_OE_received
54+
10, SHELL_COMMAND, shutdown_funkey, N_OE, Poweroff because N_OE_received
5555
#10, KEYBOARD, KEY_T, KEY_T, Should Poweroff because N_OE_received
5656

5757
# Bypass to remove when button axp working:

gpio_mapping.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
#define KEY_IDX_MAPPED_FOR_SHORT_PEK_PRESS 16 //KEY_Q
5656
#define KEY_IDX_MAPPED_FOR_LONG_PEK_PRESS 28 //KEY_ENTER
57-
#define SHELL_CMD_LONG_PEK_PRESS "poweroff"
57+
#define SHELL_CMD_LONG_PEK_PRESS "shutdown_funkey"
5858

5959

6060
/****************************************************************

0 commit comments

Comments
 (0)