source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/HotkeyBar.inc@ 599

Last change on this file since 599 was 599, checked in by Tomi Tilli, 6 years ago

Hotkey bar is now updated and drawn from system timer tick handler 1Ch. This gives much more responsive key input and makes possible to implement some simple detection animation to show that system has not frozen.

File size: 1.2 KB
Line 
1; Project name : XTIDE Universal BIOS
2; Description : Equates and structs used in Hotkey Bar.
3
4;
5; XTIDE Universal BIOS and Associated Tools
6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
7;
8; This program is free software; you can redistribute it and/or modify
9; it under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2 of the License, or
11; (at your option) any later version.
12;
13; This program is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16; GNU General Public License for more details.
17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
20%ifndef HOTKEYBAR_INC
21%define HOTKEYBAR_INC
22
23MIN_TIME_TO_DISPLAY_HOTKEY_BAR EQU (4000/55) ; 4000 ms
24
25ESC_SCANCODE EQU 1 ; ESC key
26FIRST_FUNCTION_KEY_SCANCODE EQU 3Bh ; F1 key
27
28ROM_BOOT_HOTKEY_SCANCODE EQU 42h ; F8
29
30%ifdef MODULE_BOOT_MENU
31BOOT_MENU_HOTKEY_SCANCODE EQU 3Ch ; F2
32%endif
33
34%ifdef MODULE_SERIAL
35COM_DETECT_HOTKEY_SCANCODE EQU 40h ; F6
36%endif
37
38%endif ; HOTKEYBAR_INC
Note: See TracBrowser for help on using the repository browser.