* Sets the given bits in input flags. * * @param bits The bits to set. * @return The new value of input flags. */
| 238 | * @return The new value of input flags. |
| 239 | */ |
| 240 | uint16 Input_Flags_SetBits(uint16 bits) |
| 241 | { |
| 242 | g_inputFlags |= bits; |
| 243 | |
| 244 | if ((g_inputFlags & INPUT_FLAG_KEY_RELEASE) != 0) { |
| 245 | uint8 i; |
| 246 | for (i = 0; i < lengthof(s_activeInputMap); i++) s_activeInputMap[i] = 0; |
| 247 | } |
| 248 | |
| 249 | return g_inputFlags; |
| 250 | } |
| 251 | |
| 252 | /** Clear the history buffer. */ |
| 253 | void Input_History_Clear(void) |
no outgoing calls
no test coverage detected