Home | History | Annotate | Download | only in input

Lines Matching full:down

170 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) {
172 if (down) {
202 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) {
203 if (down) {
210 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) {
214 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState);
216 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState);
218 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState);
220 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState);
222 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaState);
224 return setEphemeralMetaState(AMETA_FUNCTION_ON, down, oldMetaState);
226 return setEphemeralMetaState(AMETA_CTRL_LEFT_ON, down, oldMetaState);
228 return setEphemeralMetaState(AMETA_CTRL_RIGHT_ON, down, oldMetaState);
230 return setEphemeralMetaState(AMETA_META_LEFT_ON, down, oldMetaState);
232 return setEphemeralMetaState(AMETA_META_RIGHT_ON, down, oldMetaState);
234 return toggleLockedMetaState(AMETA_CAPS_LOCK_ON, down, oldMetaState);
236 return toggleLockedMetaState(AMETA_NUM_LOCK_ON, down, oldMetaState);
238 return toggleLockedMetaState(AMETA_SCROLL_LOCK_ON, down, oldMetaState);