Lines Matching refs:states
280 uint8 states[16];
283 memset(states, 0, sizeof(states));
325 if (states[i] != 0) {
340 states[(keycode) >> 3] |= (1 << (7 - (keycode & 0x7)));
342 states[(keycode) >> 3] &= (!(1 << (7 - (keycode & 0x7))));
346 && (states[fCommandKey >> 3] & (1 << (7 - (fCommandKey & 0x7))))
347 && (states[fControlKey >> 3] & (1 << (7 - (fControlKey & 0x7))))) {
405 message->AddData("states", B_UINT8_TYPE, states, 16);
443 msg->AddData("states", B_UINT8_TYPE, states, 16);