summaryrefslogtreecommitdiff
path: root/src/arch/x86/include/arch/acpigen_ps2_keybd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/include/arch/acpigen_ps2_keybd.h')
-rw-r--r--src/arch/x86/include/arch/acpigen_ps2_keybd.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/arch/x86/include/arch/acpigen_ps2_keybd.h b/src/arch/x86/include/arch/acpigen_ps2_keybd.h
index c0228bca16..894524a6ac 100644
--- a/src/arch/x86/include/arch/acpigen_ps2_keybd.h
+++ b/src/arch/x86/include/arch/acpigen_ps2_keybd.h
@@ -4,38 +4,4 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef __ACPIGEN_PS2_KEYBD_H__
-#define __ACPIGEN_PS2_KEYBD_H__
-
-#include <types.h>
-
-enum ps2_action_key {
- PS2_KEY_ABSENT = 0,
- PS2_KEY_BACK,
- PS2_KEY_FORWARD,
- PS2_KEY_REFRESH,
- PS2_KEY_FULLSCREEN,
- PS2_KEY_OVERVIEW,
- PS2_KEY_BRIGHTNESS_DOWN,
- PS2_KEY_BRIGHTNESS_UP,
- PS2_KEY_VOL_MUTE,
- PS2_KEY_VOL_DOWN,
- PS2_KEY_VOL_UP,
- PS2_KEY_SNAPSHOT,
- PS2_KEY_PRIVACY_SCRN_TOGGLE,
- PS2_KEY_KBD_BKLIGHT_DOWN,
- PS2_KEY_KBD_BKLIGHT_UP,
- PS2_KEY_PLAY_PAUSE,
- PS2_KEY_NEXT_TRACK,
- PS2_KEY_PREV_TRACK,
-};
-
-#define PS2_MIN_TOP_ROW_KEYS 10
-#define PS2_MAX_TOP_ROW_KEYS 15
-
-void acpigen_ps2_keyboard_dsd(const char *scope, uint8_t num_top_row_keys,
- enum ps2_action_key action_keys[],
- bool can_send_function_keys,
- bool has_numeric_keypad, bool has_scrnlock_key);
-
-#endif /* __ACPIGEN_PS2_KEYBD_H__ */
+#include <acpi/acpigen_ps2_keybd.h>