OIS.JoystickEvent.state is missing

_heinz_

22-10-2008 21:04:06

a dir() on the event of axisMoved() gave these results:

['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__instance_size__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', 'device']

is this a bug, or is there another way to get Joystick axis values in python ogre?

edit: btw. i' using python-ogre 1.6RC1 from sep.13th

andy

24-10-2008 04:25:24

Looks like a bug (or a missing) as I've never tested joystick support and in checking the code generator scripts I had added special handling for Mouse Event States but not JoySticks :( -- this has been fixed in the SVN..

Andy
Andy

_heinz_

24-10-2008 17:42:36

Ok, then. thanks for the answer. at least i'm not dumb :lol:

are there any plans on when to release the next compiled version? I think i'll wait for it since i'm not so familiar with the whole c++ stuff. If there is anybody who can send me a compiled version of the current svn version i'd appreciate that as well.

andy

24-10-2008 18:04:15

Next compiled version will match the Ogre 1.6 release -- should be in a week or two (hopefully) :)

Andy

_heinz_

24-10-2008 18:56:49

thats good news, thank you andy