Convert cocoa_input.c to Obj-C

This commit is contained in:
twinaphex 2015-11-16 01:05:49 +01:00
parent 2b719fb8c9
commit 79886a2768
3 changed files with 7 additions and 3 deletions

View File

@ -348,8 +348,6 @@ INPUT
#elif defined(ANDROID)
#include "../input/drivers/android_input.c"
#include "../input/drivers_joypad/android_joypad.c"
#elif defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
#include "../input/drivers/cocoa_input.c"
#elif defined(__QNX__)
#include "../input/drivers/qnx_input.c"
#include "../input/drivers_joypad/qnx_joypad.c"

View File

@ -32,10 +32,16 @@ AUDIO
#include "../audio/drivers/xaudio.cpp"
#endif
/*============================================================
INPUT
============================================================ */
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
#include "../input/drivers/cocoa_input.m"
#endif
/*============================================================
KEYBOARD EVENT
============================================================ */
#if defined(_WIN32) && !defined(_XBOX)
#include "../input/drivers_keyboard/keyboard_event_win32.cpp"
#endif