PDA

View Full Version : Omega mouse input not working???



NecroDOME
21-09-2005, 12:55 PM
Hello,

Im trying to make OmegaInput.Mouse to work.

I already have the keyboard and Joystick working.

Mouse problem: The axis are 0...

code:
Input.Update;
Caption := Input.Mouse.X; // Just a test...

(btw: property ForgroundOnly has no effect)

Any sugestions ?

Firlefanz
22-09-2005, 05:37 PM
Hello,

I work with Omegainput, but not with the mouse so I am not sure.

Try Input.Mouse.Update
and look into Input.Mouse.States if something is happening.

firle

NecroDOME
22-09-2005, 06:16 PM
Try Input.Mouse.Update
is't working, tried already


Input.Mouse.States
isn't working either... :(

I can make the mouse work with the OnMouseMove, OnMouseDown and OmMouseUp event of a form, but DirectX input is better integrated in my engine :P

Firlefanz
23-09-2005, 06:48 AM
Did you enable input and input.mouse? take a look at all properties, sorry but I didn't use it myself until now...

In the code, do you have input.update and I don't know, does input.mouse.update exist?

is the mouse included in any input demo / sample from omega?

Firle

NecroDOME
23-09-2005, 08:54 AM
Thnxz

Mouse.Enabled worked :D

I thought it would be enabled already :P

woohoow :D

Firlefanz
23-09-2005, 09:22 AM
No prob, glad I could help. I hope bobby has his forums up again soon :shock:

Firle