| 3264 | #endif |
| 3265 | |
| 3266 | static void mousehack_helper (uae_u32 buttonmask) |
| 3267 | { |
| 3268 | int x, y; |
| 3269 | //write_log (_T("mousehack_helper %08X\n"), buttonmask); |
| 3270 | |
| 3271 | if (quit_program) { |
| 3272 | return; |
| 3273 | } |
| 3274 | if (!(currprefs.input_mouse_untrap & MOUSEUNTRAP_MAGIC) && currprefs.input_tablet < TABLET_MOUSEHACK) { |
| 3275 | return; |
| 3276 | } |
| 3277 | |
| 3278 | get_mouse_position(&x, &y, lastmx, lastmy); |
| 3279 | inputdevice_mh_abs(x, y, buttonmask); |
| 3280 | } |
| 3281 | |
| 3282 | static int mouseedge_x, mouseedge_y, mouseedge_time; |
| 3283 | #define MOUSEEDGE_RANGE 100 |
no test coverage detected