diff options
Diffstat (limited to 'include/kbd81.h')
-rw-r--r-- | include/kbd81.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/include/kbd81.h b/include/kbd81.h deleted file mode 100644 index b4e3d62..0000000 --- a/include/kbd81.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - ds81 - Nintendo DS ZX81 emulator. - - Copyright (C) 2006 Ian Cowburn - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - $Id$ -*/ -#ifndef DS81_KBD81_H -#define DS81_KBD81_H - -typedef enum -{ - KBD_1, - KBD_2, - KBD_3, - KBD_4, - KBD_5, - KBD_6, - KBD_7, - KBD_8, - KBD_9, - KBD_0, - KBD_Q, - KBD_W, - KBD_E, - KBD_R, - KBD_T, - KBD_Y, - KBD_U, - KBD_I, - KBD_O, - KBD_P, - KBD_A, - KBD_S, - KBD_D, - KBD_F, - KBD_G, - KBD_H, - KBD_J, - KBD_K, - KBD_L, - KBD_NEWLINE, - KBD_SHIFT, - KBD_Z, - KBD_X, - KBD_C, - KBD_V, - KBD_B, - KBD_N, - KBD_M, - KBD_PERIOD, - KBD_SPACE -} ZX81_Key; - -void KBD_Reset(void); -void KBD_Display(const char *text); -void KBD_Scan(void); -ZX81_Key KBD_GetKey(void); -void KBD_MapKey(KEYPAD_BITS pad, ZX81_Key key); -void KBD_Probe(int scan); - -#endif /* DS81_KBD81_H */ |