1 /*****************************************************************************\ 2 Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. 3 This file is licensed under the Snes9x License. 4 For further information, consult the LICENSE file in the root directory. 5 \*****************************************************************************/ 6 7 /*********************************************************************************** 8 SNES9X for Mac OS (c) Copyright John Stiles 9 10 Snes9x for Mac OS X 11 12 (c) Copyright 2001 - 2011 zones 13 (c) Copyright 2002 - 2005 107 14 (c) Copyright 2002 PB1400c 15 (c) Copyright 2004 Alexander and Sander 16 (c) Copyright 2004 - 2005 Steven Seeger 17 (c) Copyright 2005 Ryan Vogt 18 ***********************************************************************************/ 19 20 21 #ifndef _mac_keyboard_h_ 22 #define _mac_keyboard_h_ 23 24 #define kKeys 39 25 26 extern uint8 keyCode[kKeys]; 27 28 enum 29 { 30 k1PUp, 31 k1PDown, 32 k1PLeft, 33 k1PRight, 34 k1PY, 35 k1PB, 36 k1PX, 37 k1PA, 38 k1PL, 39 k1PR, 40 k1PStart, 41 k1PSelect, 42 43 k2PUp, 44 k2PDown, 45 k2PLeft, 46 k2PRight, 47 k2PY, 48 k2PB, 49 k2PX, 50 k2PA, 51 k2PL, 52 k2PR, 53 k2PStart, 54 k2PSelect, 55 56 kKeyFastForward, 57 kKeyFreeze, 58 kKeyDefrost, 59 kKeyScreenshot, 60 kKeySPC, 61 kKeyScopeTurbo, 62 kKeyScopePause, 63 kKeyScopeCursor, 64 kKeyOffScreen, 65 kKeyFunction, 66 kKeyAlt, 67 kKeyFFDown, 68 kKeyFFUp, 69 kKeyEsc, 70 kKeyTC 71 }; 72 73 void InitKeyboard (void); 74 void DeinitKeyboard (void); 75 void ConfigureKeyboard (void); 76 77 #endif 78