MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / add_released_key

Method add_released_key

Drivers/TCA8418/Source/Tca8418.cpp:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void Tca8418::add_released_key(uint8_t row, uint8_t col) {
176 if (released_key_count >= KEY_EVENT_LIST_SIZE)
177 return;
178
179 released_key_count++;
180 released_list[0].row = row;
181 released_list[0].col = col;
182}
183
184void Tca8418::remove_pressed_key(uint8_t row, uint8_t col) {
185 if (pressed_key_count == 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected