Home
last modified time | relevance | path

Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp390 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument
391 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() argument
403 if (ledState.avail) { in updateLedStateForModifier()
405 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()
407 ledState.on = desiredState; in updateLedStateForModifier()
DKeyboardInputMapper.h92 void initializeLedState(LedState& ledState, int32_t led);
94 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);