flushes all controller information
| 254 | |
| 255 | // flushes all controller information |
| 256 | void lnxgameController::flush() { |
| 257 | bool old_mse = m_MouseActive, old_joy = m_JoyActive; |
| 258 | |
| 259 | ddio_KeyFlush(); |
| 260 | ddio_MouseQueueFlush(); |
| 261 | |
| 262 | // does real flush |
| 263 | mask_controllers(false, false); |
| 264 | mask_controllers(old_joy, old_mse); |
| 265 | } |
| 266 | |
| 267 | // returns the value of a requested controller type. make sure you flush the controller before polling. |
| 268 | ct_config_data lnxgameController::get_controller_value(ct_type type_req) { |
nothing calls this directly
no test coverage detected