Searched refs:key_states (Results 1 - 6 of 6) sorted by relevance

/haiku/src/apps/terminal/
H A DVTkeymap.h97 //#define IS_DOWN_KEY(x) (info.key_states[(x) / 8] & key_state_table[(x) % 8])
99 (info.key_states[(x) >> 3] & (1 << (7 - ((x) % 8))))
/haiku/src/tests/kits/game/push_game_sound_test/
H A Dpush_game_sound_sine.cpp95 if ((keyInfo.key_states[0] & 0x40) != 0)
H A Dpush_game_sound_test.cpp183 if ((keyInfo.key_states[0] & 0x40) != 0)
/haiku/src/servers/input/
H A DInputServer.cpp1580 if (size == sizeof(fKeyInfo.key_states))
1581 memcpy(fKeyInfo.key_states, data, size);
1595 fKeyInfo.key_states[KEY_Spacebar >> 3]));
1692 event->AddData("states", B_UINT8_TYPE, fKeyInfo.key_states,
1693 sizeof(fKeyInfo.key_states));
1912 if (size == sizeof(fKeyInfo.key_states))
1913 memcpy(fKeyInfo.key_states, data, size);
1915 event->AddData("states", B_UINT8_TYPE, fKeyInfo.key_states,
1916 sizeof(fKeyInfo.key_states));
/haiku/headers/os/interface/
H A DInterfaceDefs.h40 uint8 key_states[16]; member in struct:key_info
/haiku/src/apps/deskbar/
H A DSwitcher.cpp274 return (keyInfo.key_states[key >> 3] & (1 << ((7 - key) & 7))) != 0;

Completed in 209 milliseconds