aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-15 09:53:25 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-17 14:56:42 +0200
commit8acad25cd5f4a49573098e98c10118358fc48924 (patch)
tree9dcc98ab031d31543ab8a94c4f173b7f0700cea8 /src/util.h
parenta3fd63c2342bd84a5487e280e2899250ec440d98 (diff)
downloadseabios-hppa-8acad25cd5f4a49573098e98c10118358fc48924.zip
seabios-hppa-8acad25cd5f4a49573098e98c10118358fc48924.tar.gz
seabios-hppa-8acad25cd5f4a49573098e98c10118358fc48924.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9c06850..e2afc80 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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