1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef __ACPI_ACPIGEN_PS2_KEYBD_H__
4 #define __ACPI_ACPIGEN_PS2_KEYBD_H__
15 PS2_KEY_BRIGHTNESS_DOWN
,
16 PS2_KEY_BRIGHTNESS_UP
,
21 PS2_KEY_PRIVACY_SCRN_TOGGLE
,
22 PS2_KEY_KBD_BKLIGHT_DOWN
,
23 PS2_KEY_KBD_BKLIGHT_UP
,
27 PS2_KEY_KBD_BKLIGHT_TOGGLE
,
31 PS2_KEY_ACCESSIBILITY
,
32 PS2_KEY_DO_NOT_DISTURB
,
35 #define PS2_MIN_TOP_ROW_KEYS 2
36 #define PS2_MAX_TOP_ROW_KEYS 15
38 void acpigen_ps2_keyboard_dsd(const char *scope
, uint8_t num_top_row_keys
,
39 enum ps2_action_key action_keys
[],
40 bool can_send_function_keys
,
41 bool has_numeric_keypad
, bool has_scrnlock_key
,
42 bool has_assistant_key
,
43 bool has_alpha_num_punct_keys
);
45 #endif /* __ACPI_ACPIGEN_PS2_KEYBD_H__ */