File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
zephyr/program/lotus/azalea/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ enum scancode_values {
196196
197197 SCANCODE_FAKE_FN = 0xe016 ,
198198 SCANCODE_FAKE_POWER = 0xe025 ,
199+ SCANCODE_UNASSIGNED = 0x0040 ,
199200#endif /* CONFIG_CUSTOMIZED_DESIGN */
200201};
201202#ifdef CONFIG_CUSTOMIZED_DESIGN
Original file line number Diff line number Diff line change @@ -272,8 +272,8 @@ static void key_stuck_wa(void)
272272 int wa_bit = * host_get_memmap (EC_CUSTOMIZED_MEMMAP_DISPLAY_ON );
273273
274274 if (wa_bit ) {
275- simulate_keyboard (120 , 1 );
276- simulate_keyboard (120 , 0 );
275+ simulate_keyboard (SCANCODE_UNASSIGNED , 1 );
276+ simulate_keyboard (SCANCODE_UNASSIGNED , 0 );
277277 keyboard_clear_buffer ();
278278 * host_get_memmap (EC_CUSTOMIZED_MEMMAP_DISPLAY_ON ) = 0 ;
279279 hook_call_deferred (& key_stuck_wa_data , -1 );
You can’t perform that action at this time.
0 commit comments