src/video/haiku/SDL_bkeyboard.cc
changeset 12082 09999a0e8f9a
parent 11811 5d94cb6b24d3
child 12201 8bdc4d340419
     1.1 --- a/src/video/haiku/SDL_bkeyboard.cc	Tue Aug 07 17:28:07 2018 -0400
     1.2 +++ b/src/video/haiku/SDL_bkeyboard.cc	Tue Aug 07 18:07:11 2018 -0400
     1.3 @@ -41,7 +41,7 @@
     1.4  static SDL_Scancode keymap[KEYMAP_SIZE];
     1.5  static int8 keystate[KEYMAP_SIZE];
     1.6  
     1.7 -void BE_InitOSKeymap(void) {
     1.8 +void HAIKU_InitOSKeymap(void) {
     1.9  		for( uint i = 0; i < SDL_TABLESIZE(keymap); ++i ) {
    1.10  			keymap[i] = SDL_SCANCODE_UNKNOWN;
    1.11  		}
    1.12 @@ -159,7 +159,7 @@
    1.13  		keymap[0x6b]		= SDL_GetScancodeFromKey(SDLK_POWER);
    1.14  }
    1.15  
    1.16 -SDL_Scancode BE_GetScancodeFromBeKey(int32 bkey) {
    1.17 +SDL_Scancode HAIKU_GetScancodeFromBeKey(int32 bkey) {
    1.18  	if(bkey > 0 && bkey < (int32)SDL_TABLESIZE(keymap)) {
    1.19  		return keymap[bkey];
    1.20  	} else {
    1.21 @@ -167,7 +167,7 @@
    1.22  	}
    1.23  }
    1.24  
    1.25 -int8 BE_GetKeyState(int32 bkey) {
    1.26 +int8 HAIKU_GetKeyState(int32 bkey) {
    1.27  	if(bkey > 0 && bkey < KEYMAP_SIZE) {
    1.28  		return keystate[bkey];
    1.29  	} else {
    1.30 @@ -175,7 +175,7 @@
    1.31  	}
    1.32  }
    1.33  
    1.34 -void BE_SetKeyState(int32 bkey, int8 state) {
    1.35 +void HAIKU_SetKeyState(int32 bkey, int8 state) {
    1.36  	if(bkey > 0 && bkey < KEYMAP_SIZE) {
    1.37  		keystate[bkey] = state;
    1.38  	}