Home
last modified time | relevance | path

Searched refs:KeyBuffer (Results 1 – 12 of 12) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
DWin32KeyBoard.cpp40 memset( &KeyBuffer, 0, 256 ); in Win32Keyboard()
135 KeyBuffer[kc] = static_cast<unsigned char>(diBuff[ i ].dwData); in _readBuffered()
176 memcpy(keyBufferCopy, KeyBuffer, 256); in _readBuffered()
183 if (keyBufferCopy[i] != KeyBuffer[i]) in _readBuffered()
187 if (KeyBuffer[i]) in _readBuffered()
206 HRESULT hr = mKeyboard->GetDeviceState( sizeof(KeyBuffer), &KeyBuffer ); in _read()
212 mKeyboard->GetDeviceState(sizeof(KeyBuffer), &KeyBuffer); in _read()
285 return (KeyBuffer[key] & 0x80) != 0; in isKeyDown()
315 keys[i] = KeyBuffer[i] > 0; //Normalise the DX values (0x80) in copyKeyStates()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
DSDLKeyboard.cpp39 memset( &KeyBuffer, 0, 256 ); in SDLKeyboard()
170 KeyBuffer[kc] = events[i].key.state; in capture()
188 if( KeyBuffer[KC_RMENU] || KeyBuffer[KC_LMENU]) in capture()
190 if( KeyBuffer[KC_TAB] ) in capture()
198 return KeyBuffer[key] == 1 ? true : false; in isKeyDown()
360 keys[i] = KeyBuffer[i]; in copyKeyStates()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DLinuxKeyboard.cpp193 memset( &KeyBuffer, 0, 256 ); in _initialize()
274 return (KeyBuffer[key]); in isKeyDown()
368 KeyBuffer[kc] = 1; in _injectKeyDown()
388 KeyBuffer[kc] = 0; in _injectKeyUp()
430 memcpy( keys, KeyBuffer, 256 ); in copyKeyStates()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacKeyboard.cpp98 memset( &KeyBuffer, 0, 256 ); in _initialize()
136 return (bool)KeyBuffer[key]; in isKeyDown()
329 KeyBuffer[kc] = ( type == MAC_KEYUP ) ? 0 : 1; in injectEvent()
339 memcpy( keys, KeyBuffer, 256 ); in copyKeyStates()
DCocoaKeyboard.mm130 memset( &KeyBuffer, 0, 256 );
178 return KeyBuffer[key];
183 memcpy( keys, KeyBuffer, 256 );
326 KeyBuffer[kc] = ( type == MAC_KEYUP ) ? 0 : 1;
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/SDL/
DSDLKeyboard.h73 unsigned char KeyBuffer[256]; variable
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/win32/
DWin32KeyBoard.h75 unsigned char KeyBuffer[256]; variable
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/linux/
DLinuxKeyboard.h86 char KeyBuffer[256]; variable
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/mac/
DMacKeyboard.h80 char KeyBuffer[256]; variable
DCocoaKeyboard.h97 char KeyBuffer[256]; variable
/external/clang/lib/Basic/
DVirtualFileSystem.cpp1128 SmallString<10> KeyBuffer; in parse() local
1130 if (!parseScalarString(I->getKey(), Key, KeyBuffer)) in parse()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/
Dcocoa.diff851 + char KeyBuffer[256];
2225 + memset( &KeyBuffer, 0, 256 );
2273 + return KeyBuffer[key];
2278 + memcpy( keys, KeyBuffer, 256 );
2421 + KeyBuffer[kc] = ( type == MAC_KEYUP ) ? 0 : 1;