Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / reset the state of all mouse buttons to 'off

Author
Message
Hubert BAYRE
7
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 20th Jan 2018 19:47
Hello
After a GetPointerPressed() call
is there a way to reset the state of all mouse buttons to 'off'. As FlushMouse with Blitzmax ?
i use a touch screen.
Thanks.
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 20th Jan 2018 19:49
maybe you can use a variable to store the pointer's pressed state at the start of each loop then just put the value to 0 yourself when you want to
i.e.
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Hubert BAYRE
7
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 20th Jan 2018 20:29
Nice idea. Works fine. Many thanks.

Login to post a reply

Server time is: 2024-11-21 19:40:28
Your offset time is: 2024-11-21 19:40:28