Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance
916 void initializeLedState(LedState& ledState, int32_t led);918 void updateLedStateForModifier(LedState& ledState, int32_t led,
2498 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument2499 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()2500 ledState.on = false; in initializeLedState()2512 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, in updateLedStateForModifier() argument2514 if (ledState.avail) { in updateLedStateForModifier()2516 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()2518 ledState.on = desiredState; in updateLedStateForModifier()