Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AbrahamR, wdlmaster, 7th_zorro, dr_panther, 1 invisible), 764 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Avoiding mouse errors on tablets #453903
08/18/15 15:28
08/18/15 15:28
Joined: Aug 2015
Posts: 10
Michigan
41Lumber Offline OP
Newbie
41Lumber  Offline OP
Newbie

Joined: Aug 2015
Posts: 10
Michigan
I'm trying to develop some design software based on the A8 engine that works both on a desktop and a Windows tablet. I've confirmed that it definitely runs on the tablet, except for one issue.
Every time you start the program, you get the irritating error "Error E155: Can't open mouse device". Is there any way to circumvent this message? It won't be hard to use Windows API calls to get proper touch screen behavior (and modify my UI system to support it), but I'd like to remove the nag. Any ideas?

Re: Avoiding mouse errors on tablets [Re: 41Lumber] #453913
08/18/15 18:09
08/18/15 18:09
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Does the touchscreen itself work in your program/game?

A few ideas:
- update mouse / touchpad / touchscreen driver
- update direct x
- set warn_level to a lower number

I have personally have a laptop with touchscreen and get not such an error. Perhaps you can install such a laptop touchpad driver for your tablet? (just a wild idea, I have no idea if it will work)

Re: Avoiding mouse errors on tablets [Re: Reconnoiter] #453915
08/18/15 18:27
08/18/15 18:27
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
If you cant find a way but you know there is a working one just hook MessageBoxExA/E and supress the warning.

Last edited by Ch40zzC0d3r; 08/18/15 22:38.
Re: Avoiding mouse errors on tablets [Re: Reconnoiter] #453916
08/18/15 18:43
08/18/15 18:43
Joined: Aug 2015
Posts: 10
Michigan
41Lumber Offline OP
Newbie
41Lumber  Offline OP
Newbie

Joined: Aug 2015
Posts: 10
Michigan
The tablet shipped brand new with Windows 8.1, so I would assume the drivers and DirectX are up to date. Setting warn_level had no effect.

Interestingly enough, plugging in the keyboard unit (which essentially converts it into a small laptop) not only removes the error but fixes the non-working mouse click events as well.

Unfortunately, we want it to work as a standalone tablet, so this isn't really a proper fix in the long run.

@Ch40zzC0d3r: Interesting thought. How would I accomplish this?

Re: Avoiding mouse errors on tablets [Re: 41Lumber] #453918
08/18/15 22:38
08/18/15 22:38
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Take a look at Microsoft Detours.
But you should read up a bit on it first, if you fail your game will eventually crash or be detected as virus.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1