Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance
1104 void initializeLedState(LedState& ledState, int32_t led);1106 void updateLedStateForModifier(LedState& ledState, int32_t led,
2233 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument2234 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()2235 ledState.on = false; in initializeLedState()2247 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, in updateLedStateForModifier() argument2249 if (ledState.avail) { in updateLedStateForModifier()2251 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()2253 ledState.on = desiredState; in updateLedStateForModifier()