Re: [hatari-devel] IKBD_Cmd_SetMouseScale in the game "The Sentinel" |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On lauantai 25 toukokuu 2013, Nicolas Pomarède wrote:
> there seems to be a problem in the game "The Sentinel" by Firebird.
>
> Moving the mouse is extremely slow ; the only unusual thing is that they
> set absolute mouse mode to a very big area, which seems to be
> "compensated" by mouse scale command :
>
>
> IKBD_Cmd_AbsMouseMode 2560,3072
> IKBD_Cmd_SetInternalMousePos 1280,1536
> IKBD_Cmd_SetMouseScale 8,16
> IKBD_Cmd_SetYAxisDown
>
>
> Then the game read the mouse's position with ReadAbsMousePos.
>
> eg :
>
> IKBD_Cmd_ReadAbsMousePos 1280,1536 0x0
> IKBD_Cmd_ReadAbsMousePos 1280,1536 0x0
> IKBD_Cmd_ReadAbsMousePos 1280,1536 0x0
>
> Strange thing is that IKBD_Cmd_SetMouseScale is storing values in XScale
> and YScale, but it's never used anywhere to scale deltaX/Y values.
Do Paolo's HexTracker or Spectrum512 (which also have mouse problems)
use mouse scaling commands?
> Thomas (or anyone else), do you remember if that's an old part that was
> never implemented ?
- Eero