| 3677 | } |
| 3678 | |
| 3679 | static void inputdevice_read(void) |
| 3680 | { |
| 3681 | // if ((inputdevice_logging & (2 | 4))) |
| 3682 | // write_log(_T("INPUTREAD\n")); |
| 3683 | inputdevice_read_msg(false); |
| 3684 | #ifndef AMIBERRY // we handle input device reading based on SDL events in Amiberry |
| 3685 | if (inputread <= 0) { |
| 3686 | idev[IDTYPE_MOUSE].read(); |
| 3687 | idev[IDTYPE_JOYSTICK].read(); |
| 3688 | idev[IDTYPE_KEYBOARD].read(); |
| 3689 | } |
| 3690 | #endif |
| 3691 | } |
| 3692 | |
| 3693 | static void maybe_read_input(void) |
| 3694 | { |
no test coverage detected