Macroify GRUB_TERM_NO_KEY and use grub_checkkey in grub_getkey

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-08-23 12:53:42 +02:00
1 parent df2174dded
commit 9518e2a12b
7 files changed
+39 -47

No files matched your search

+2
View File
@@ -19,6 +19,8 @@
#ifndef GRUB_TERM_HEADER
#define GRUB_TERM_HEADER 1
#define GRUB_TERM_NO_KEY -1
/* Internal codes used by GRUB to represent terminal input. */
/* Only for keys otherwise not having shifted modification. */
#define GRUB_TERM_SHIFT 0x01000000