Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance
390 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument391 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()392 ledState.on = false; in initializeLedState()401 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument403 if (ledState.avail) { in updateLedStateForModifier()405 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()407 ledState.on = desiredState; in updateLedStateForModifier()
92 void initializeLedState(LedState& ledState, int32_t led);94 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);