src/core/linux/SDL_evdev_kbd.h
changeset 12366 c46e72bd9950
parent 11811 5d94cb6b24d3
child 12503 806492103856
equal deleted inserted replaced
12365:09e3ef028bc8 12366:c46e72bd9950
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
       
    22 #ifndef SDL_evdev_kbd_h_
       
    23 #define SDL_evdev_kbd_h_
       
    24 
    22 struct SDL_EVDEV_keyboard_state;
    25 struct SDL_EVDEV_keyboard_state;
    23 typedef struct SDL_EVDEV_keyboard_state SDL_EVDEV_keyboard_state;
    26 typedef struct SDL_EVDEV_keyboard_state SDL_EVDEV_keyboard_state;
    24 
    27 
    25 extern SDL_EVDEV_keyboard_state *SDL_EVDEV_kbd_init(void);
    28 extern SDL_EVDEV_keyboard_state *SDL_EVDEV_kbd_init(void);
    26 extern void SDL_EVDEV_kbd_keycode(SDL_EVDEV_keyboard_state *state, unsigned int keycode, int down);
    29 extern void SDL_EVDEV_kbd_keycode(SDL_EVDEV_keyboard_state *state, unsigned int keycode, int down);
    27 extern void SDL_EVDEV_kbd_quit(SDL_EVDEV_keyboard_state *state);
    30 extern void SDL_EVDEV_kbd_quit(SDL_EVDEV_keyboard_state *state);
    28 
    31 
       
    32 #endif /* SDL_evdev_kbd_h_ */
       
    33 
    29 /* vi: set ts=4 sw=4 expandtab: */
    34 /* vi: set ts=4 sw=4 expandtab: */