GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2010-Apr-15

Title: Windows CE mouse coordinates
Post by: MrTAToad on 2010-Apr-15
Windows CE mouse coordinates are a bit dodgy.  Horizontal positions start at 83, whilst vertical ones start at 1...
Title: Re: Windows CE mouse coordinates
Post by: Kitty Hello on 2010-Apr-23
I think I've fixed that with the update just grinding in the background.
Title: Re: Windows CE mouse coordinates
Post by: MrTAToad on 2010-Apr-23
Horizontally it now starts at 3 - so a lot better :)
Title: Re: Windows CE mouse coordinates
Post by: matchy on 2010-May-05
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
Title: Re: Windows CE mouse coordinates
Post by: Kitty Hello on 2010-May-06
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?
Title: Re: Windows CE mouse coordinates
Post by: matchy on 2010-May-06
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