| 2611 | } |
| 2612 | |
| 2613 | static void inputdevice_update_tablet_params(void) |
| 2614 | { |
| 2615 | uae_u8 *p; |
| 2616 | if (inputdevice_is_tablet() <= 0 || !mousehack_address) |
| 2617 | return; |
| 2618 | p = mousehack_address; |
| 2619 | |
| 2620 | p[MH_MAXX] = tablet_maxx >> 8; |
| 2621 | p[MH_MAXX + 1] = tablet_maxx; |
| 2622 | p[MH_MAXY] = tablet_maxy >> 8; |
| 2623 | p[MH_MAXY + 1] = tablet_maxy; |
| 2624 | p[MH_MAXZ] = tablet_maxz >> 8; |
| 2625 | p[MH_MAXZ + 1] = tablet_maxz; |
| 2626 | |
| 2627 | p[MH_RESX] = tablet_resx >> 8; |
| 2628 | p[MH_RESX + 1] = tablet_resx; |
| 2629 | p[MH_RESY] = tablet_resy >> 8; |
| 2630 | p[MH_RESY + 1] = tablet_resy; |
| 2631 | |
| 2632 | p[MH_MAXAX] = tablet_maxax >> 8; |
| 2633 | p[MH_MAXAX + 1] = tablet_maxax; |
| 2634 | p[MH_MAXAY] = tablet_maxay >> 8; |
| 2635 | p[MH_MAXAY + 1] = tablet_maxay; |
| 2636 | p[MH_MAXAZ] = tablet_maxaz >> 8; |
| 2637 | p[MH_MAXAZ + 1] = tablet_maxaz; |
| 2638 | } |
| 2639 | |
| 2640 | void input_mousehack_mouseoffset(uaecptr pointerprefs) |
| 2641 | { |
no test coverage detected