Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Gius on Wed 19/11/2008 15:25:26

Title: Ags for HeadMouse
Post by: Gius on Wed 19/11/2008 15:25:26
Hi to everybody, 
I have tried to create a small didactic software 
to use with HeadMouse 1.5   
(http://nipg.inf.elte.hu/headmouse/headmouse.html)   
but I have seen 
what it stirs the cursor but the click of the mouse doesn't work. 
 
can you help me kindly? 
Thanks

Gius
Title: Re: Ags for HeadMouse
Post by: Khris on Wed 19/11/2008 16:31:17
As far as I understand the technical side, mouse clicks are sent to AGS by Windows, so I'd check HeadMouse's settings first (does it work on the Desktop or within other applications?).
Title: Re: Ags for HeadMouse
Post by: GarageGothic on Wed 19/11/2008 17:10:33
I can confirm Gius' findings. Clicking (performed by remaining static) does not work inside AGS games, however moving the cursor outside the the game window and not moving you head will trigger a click and change the focus to whatever application you were hovering over. Seeing as HeadMouse is still an experimental Alpha version, it's easy to say that the problem probably lies in that program rather than AGS. But I wonder, has anybody experienced incompatibilities between AGS and other keyboard/mouse remappers? It could be that software-triggered mouseclicks for some reason aren't captured by AGS.
Title: Re: Ags for HeadMouse
Post by: Gius on Wed 19/11/2008 17:11:34
Hi, 
I have tried: it works very well on the desktop, it stirs the mouse and it works the click 
for folder, file .exe etc...
but if I try with a game built with Ags the clik it doesn't work
but continuous to work only the movement of the mouse. 
 
which be could the solution ? 
 
Thanks
Title: Re: Ags for HeadMouse
Post by: Pumaman on Wed 19/11/2008 19:05:17
AGS games use DirectX therefore this probably means that HeadMouse doesn't support DirectInput yet, if it can't transmit the clicks into AGS.
Title: Re: Ags for HeadMouse
Post by: Gius on Thu 20/11/2008 14:12:16
hi, 
I have tried with cameramouse (http://www.cameramouse.org/) 
in this case the movement of the muose doesn't work
while function the click of the mouse. 

Do you know a " head  mause" compatible with AGS? 
 
thanks
Title: Re: Ags for HeadMouse
Post by: SSH on Fri 21/11/2008 09:57:00
Have you tried www.free-track.net ?
Title: Re: Ags for HeadMouse
Post by: Gius on Fri 21/11/2008 17:39:18
unfortunately FreeTrack works only with: 
"This point model usually consists of infrared LEDs but can also be normal LEDs and even retroreflective material illuminated by a source of infrared light" 
 
thanks equally.

even if Ags totally is not compatible with Head Mouse 1.5 
(the click of the mouse doesn't work) 
 
I think that I should make an attempt to build an elementary "Paint" AGS 
for the pupils that use a Head Mouse. 
The first problem:   
to pass from the cursor that it doesn't draw to the cursor that draws, therefore: 
if the cursor interact remains for five seconds in the same points (x,y) 
turn him into cursor pointer; 
if the cursor pointer remains for five seconds in the same points (x,y) 
turn him into cursor interact. 
 
Can you help me kindly how I can resolve this problem? 
Thanks 
Gius