On Mon, 17 Jan 2000, Michael Polak wrote:
> *** Keyboard navigation ***
> 
> I forgot to warn you, that Arachne's behaviour without mouse driver is
> undefined. I must find some workaround. I think it should be relatively
> easy, but I am not using low level functions, but some kind of library
> to access mouse driver. But I know the low level too, so it should be
> possible, somehow.
> 

What about using a joystick driver?  A simple one, kinda a middle ground
between a mouse and keyboard driver.

// joySlack take in account for analog joysticks
if( currJoyH < calibratedJoyH - joySlack )
{
   // move pointer left
}

if( currJoyH > calibratedJoyH + joySlack )
{
   // move pointer right
}

if( currJoyV < calibratedJoyV - joy )
{
   // move pointer up
}

if( currJoyV > calibratedJoyV + joy )
{
   // move pointer down
}



Louis

Reply via email to