* Test whether \a value is available in the input. * @param value Input value. * @return \c 0 means not available. */
| 574 | * @return \c 0 means not available. |
| 575 | */ |
| 576 | uint16 Input_Test(uint16 value) |
| 577 | { |
| 578 | Input_AddHistory(value); |
| 579 | value = Input_Keyboard_Translate(value); |
| 580 | |
| 581 | return s_activeInputMap[value >> 3] & (1 << (value & 7)); |
| 582 | } |
| 583 | |
| 584 | /** |
| 585 | * Handle keyboard input. |
no test coverage detected