Windows CE mouse coordinates

Previous topic - Next topic

MrTAToad

Windows CE mouse coordinates are a bit dodgy.  Horizontal positions start at 83, whilst vertical ones start at 1...

Kitty Hello

I think I've fixed that with the update just grinding in the background.

MrTAToad

Horizontally it now starts at 3 - so a lot better :)

matchy

#3
I'm currently getting incorrect Windows CE maximum mouse coordinates only in portrait mode; 1-179 x 1-425 although it should be 1-240 x 1-320.  O_O

Kitty Hello

I think I fixed that with the next update, too.
Can't really do an update now, though - beta of V8 is in progress. Is that OK for you?

matchy

No problem for now because I hava temporary patch solution.  :-[
Code (glbasic) Select

MOUSESTATE mx,my,b1,b2
IF PLATFORMINFO$("")="WINCE"
mx=INTEGER((mx/179)*240)
my=INTEGER((my/425)*320)
ENDIF