Subversion Repositories SvarDOS

Rev

Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 41
Line 1... Line 1...
1
/*
1
/*
2
 * input keyboard routines used by the Svarog386 installer.
2
 * input keyboard routines used by the Svarog386 installer.
3
 * Copyright (C) 2016 Mateusz Viste
3
 * Copyright (C) 2016 Mateusz Viste
4
 */
4
 */
5
 
5
 
6
/* waits for a keypress and return it. Returns 0 for extended keystroke, then
6
/* waits for a keypress and return it. Returns 0 for extended keystroke, then
7
   function must be called again to return scan code. */
7
   function must be called again to return scan code. */
8
int input_getkey(void);
8
int input_getkey(void);
9
 
9
 
10
/* poll the keyboard, and return the next input key if any, or -1 */
10
/* poll the keyboard, and return the next input key if any, or -1 */
11
int input_getkeyifany(void);
11
int input_getkeyifany(void);