| 163 | |
| 164 | |
| 165 | void Tca8418::add_pressed_key(uint8_t row, uint8_t col) { |
| 166 | if (pressed_key_count >= KEY_EVENT_LIST_SIZE) |
| 167 | return; |
| 168 | |
| 169 | pressed_list[pressed_key_count].row = row; |
| 170 | pressed_list[pressed_key_count].col = col; |
| 171 | pressed_list[pressed_key_count].hold_time = 0; |
| 172 | pressed_key_count++; |
| 173 | } |
| 174 | |
| 175 | void Tca8418::add_released_key(uint8_t row, uint8_t col) { |
| 176 | if (released_key_count >= KEY_EVENT_LIST_SIZE) |
nothing calls this directly
no outgoing calls
no test coverage detected