comparison src/video/cocoa/SDL_cocoakeyboard.h @ 2303:d87417504c75

First pass implementation of new SDL scancode concept, as discussed with Christian Walther. Currently only implemented on Mac OS X for sanity checking purposes.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 05 Feb 2008 07:19:23 +0000
parents 4baee598306d
children 99210400e8b9
comparison
equal deleted inserted replaced
2302:7ae1c419b626 2303:d87417504c75
24 #ifndef _SDL_cocoakeyboard_h 24 #ifndef _SDL_cocoakeyboard_h
25 #define _SDL_cocoakeyboard_h 25 #define _SDL_cocoakeyboard_h
26 26
27 extern void Cocoa_InitKeyboard(_THIS); 27 extern void Cocoa_InitKeyboard(_THIS);
28 extern void Cocoa_HandleKeyEvent(_THIS, NSEvent * event); 28 extern void Cocoa_HandleKeyEvent(_THIS, NSEvent * event);
29 extern SDLKey Cocoa_GetLayoutKey(_THIS, SDLKey physicalKey);
30 extern void Cocoa_QuitKeyboard(_THIS); 29 extern void Cocoa_QuitKeyboard(_THIS);
31 30
32 #endif /* _SDL_cocoakeyboard_h */ 31 #endif /* _SDL_cocoakeyboard_h */
33 32
34 /* vi: set ts=4 sw=4 expandtab: */ 33 /* vi: set ts=4 sw=4 expandtab: */