(state bool)
| 73 | } |
| 74 | |
| 75 | func (key *KeyState) set(state bool) { |
| 76 | key.lastState = key.currentState |
| 77 | key.currentState = state |
| 78 | } |
| 79 | |
| 80 | // State returns the raw state of a key. |
| 81 | func (key *KeyState) State() int { |
no outgoing calls
no test coverage detected