I've got a strange behavior using the mouse driver and even looking at the code I don't know really why...
So let me explain...
After you have loaded a decent USBD.IRX and then the PS2MOUSE.IRX drivers, you call :
Code: Select all
if(PS2MouseInit() < 0) {...
My issue is :
- If a mouse is connected, works fine, returns 0
- If NO mouse attached to the ps2... it returns 0 !!!!! (and not -1)
Same behavior with PS2ReadMouse.... (strange isn't it)
Any idea ?