diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-15 09:53:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-17 14:56:42 +0200 |
commit | 8acad25cd5f4a49573098e98c10118358fc48924 (patch) | |
tree | 9dcc98ab031d31543ab8a94c4f173b7f0700cea8 /src/util.h | |
parent | a3fd63c2342bd84a5487e280e2899250ec440d98 (diff) | |
download | seabios-8acad25cd5f4a49573098e98c10118358fc48924.tar.gz |
add get_keystroke_full() helper
Switch get_raw_keystroke() to return ax instead of ah, so it returns
both scan code and ascii code of the key pressed.
Add get_keystroke_full() function which passes up ax to the caller.
The get_keystroke() function continues to return the scancode only like
it did before. It is a thin wrapper around get_keystroke_full() now
though.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ int bootprio_find_pci_rom(struct pci_device *pci, int instance); int bootprio_find_named_rom(const char *name, int instance); struct usbdevice_s; int bootprio_find_usb(struct usbdevice_s *usbdev, int lun); +int get_keystroke_full(int msec); int get_keystroke(int msec); // bootsplash.c |