Debian Codegraph @

common/core_keydown.h

raw
1 /*****************************************************************************
2 * Free42 -- an HP-42S calculator simulator
3 * Copyright (C) 2004-2026 Thomas Okken
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License, version 2,
7 * as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see http://www.gnu.org/licenses/.
16 *****************************************************************************/
17
18 #ifndef CORE_KEYDOWN_H
19 #define CORE_KEYDOWN_H 1
20
21 #include "free42.h"
22
23 void keydown(int shift, int key);
24 void keydown_number_entry(int shift, int key);
25 void keydown_command_entry(int shift, int key);
26 void keydown_alpha_mode(int shift, int key);
27 void keydown_normal_mode(int shift, int key);
28 int find_cmd_getkey_mapping(int cmd);
29
30 #endif