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

Last change on this file since 599 was 599, checked in by aitotat, 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
RevLine 
[392]1; Project name  :   XTIDE Universal BIOS
2; Description   :   Equates and structs used in Hotkey Bar.
3
4;
[526]5; XTIDE Universal BIOS and Associated Tools
6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
[392]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.
[526]12;
[392]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
[526]16; GNU General Public License for more details.
[392]17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
20%ifndef HOTKEYBAR_INC
21%define HOTKEYBAR_INC
22
[528]23MIN_TIME_TO_DISPLAY_HOTKEY_BAR          EQU (4000/55)   ; 4000 ms
[413]24
[599]25ESC_SCANCODE                            EQU 1   ; ESC key       
[593]26FIRST_FUNCTION_KEY_SCANCODE             EQU 3Bh ; F1 key
27
[492]28ROM_BOOT_HOTKEY_SCANCODE                EQU 42h ; F8
[413]29
[492]30%ifdef MODULE_BOOT_MENU
[392]31BOOT_MENU_HOTKEY_SCANCODE               EQU 3Ch ; F2
[492]32%endif
[392]33
[492]34%ifdef MODULE_SERIAL
35COM_DETECT_HOTKEY_SCANCODE              EQU 40h ; F6
36%endif
[392]37
38%endif ; HOTKEYBAR_INC
Note: See TracBrowser for help on using the repository browser.