Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance
416 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument417 ledState.avail = getDeviceContext().hasLed(led); in initializeLedState()418 ledState.on = false; in initializeLedState()447 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument449 if (ledState.avail) { in updateLedStateForModifier()451 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()453 ledState.on = desiredState; in updateLedStateForModifier()
96 void initializeLedState(LedState& ledState, int32_t led);97 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);