mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Remove more HAVE_COCOA ifdefs
This commit is contained in:
parent
eaa98dafc0
commit
53277e3b1c
@ -28,16 +28,9 @@
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
static bool small_keyboard_active;
|
||||
#endif
|
||||
|
||||
static uint32_t apple_key_state[MAX_KEYS];
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
|
||||
#define HIDKEY(X) X
|
||||
|
||||
#elif defined(HAVE_COCOA)
|
||||
|
||||
#else
|
||||
/* Taken from https://github.com/depp/keycode,
|
||||
* check keycode.h for license. */
|
||||
|
||||
@ -55,6 +48,8 @@ static const unsigned char MAC_NATIVE_TO_HID[128] = {
|
||||
#define HIDKEY(X) (X < 128) ? MAC_NATIVE_TO_HID[X] : 0
|
||||
#endif
|
||||
|
||||
static uint32_t apple_key_state[MAX_KEYS];
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
static bool handle_small_keyboard(unsigned* code, bool down)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user