src/video/bwindow/SDL_bkeyboard.h
author Nathan Heisey <nathanheisey@gmail.com>
Tue, 26 Jul 2011 17:48:40 +0000
changeset 5928 a3a52295bc0d
child 6138 4c64952a58fb
permissions -rw-r--r--
Corrected keyboard input support
nathanheisey@5928
     1
/*
nathanheisey@5928
     2
    SDL - Simple DirectMedia Layer
nathanheisey@5928
     3
    Copyright (C) 1997-2009 Sam Lantinga
nathanheisey@5928
     4
nathanheisey@5928
     5
    This library is free software; you can redistribute it and/or
nathanheisey@5928
     6
    modify it under the terms of the GNU Lesser General Public
nathanheisey@5928
     7
    License as published by the Free Software Foundation; either
nathanheisey@5928
     8
    version 2.1 of the License, or (at your option) any later version.
nathanheisey@5928
     9
nathanheisey@5928
    10
    This library is distributed in the hope that it will be useful,
nathanheisey@5928
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
nathanheisey@5928
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
nathanheisey@5928
    13
    Lesser General Public License for more details.
nathanheisey@5928
    14
nathanheisey@5928
    15
    You should have received a copy of the GNU Lesser General Public
nathanheisey@5928
    16
    License along with this library; if not, write to the Free Software
nathanheisey@5928
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
nathanheisey@5928
    18
nathanheisey@5928
    19
    Sam Lantinga
nathanheisey@5928
    20
    slouken@libsdl.org
nathanheisey@5928
    21
*/
nathanheisey@5928
    22
nathanheisey@5928
    23
#ifndef SDL_BKEYBOARD_H
nathanheisey@5928
    24
#define SDL_BKEYBOARD_H
nathanheisey@5928
    25
nathanheisey@5928
    26
#include <SupportDefs.h>
nathanheisey@5928
    27
nathanheisey@5928
    28
#ifdef __cplusplus
nathanheisey@5928
    29
extern "C" {
nathanheisey@5928
    30
#endif
nathanheisey@5928
    31
nathanheisey@5928
    32
#include "../../../include/SDL_keyboard.h"
nathanheisey@5928
    33
nathanheisey@5928
    34
extern void BE_InitOSKeymap();
nathanheisey@5928
    35
extern SDL_Scancode BE_GetScancodeFromBeKey(int32 bkey);
nathanheisey@5928
    36
extern int8 BE_GetKeyState(int32 bkey);
nathanheisey@5928
    37
extern void BE_SetKeyState(int32 bkey, int8 state);
nathanheisey@5928
    38
nathanheisey@5928
    39
#ifdef __cplusplus
nathanheisey@5928
    40
}
nathanheisey@5928
    41
#endif
nathanheisey@5928
    42
nathanheisey@5928
    43
#endif