Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance
410 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument411 ledState.avail = getDeviceContext().hasLed(led); in initializeLedState()412 ledState.on = false; in initializeLedState()421 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument423 if (ledState.avail) { in updateLedStateForModifier()425 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()427 ledState.on = desiredState; in updateLedStateForModifier()
95 void initializeLedState(LedState& ledState, int32_t led);97 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);