On Feb 1, 2007, at 5:43 PM, Asher Dunn wrote:
On Feb 1, 2007, at 8:38 PM, William Squires wrote:
If your game elements are instances of separate classes, you could
use an "IsA" test.
I think he meant game *input* device, and "if myGameInputElement Isa
Potentiometer" sounds like wishful thinking to me ;-)
If this is the case the "Potentiometer" usually has "axis" in its name.
I don't think you can count on it, but its been true for everything I
have seen. (A few mice and a joy stick, with a Z-Axis throttle and X
and Y axis)
Also, does any one have a good setup for handling input configuration
with the game-input classes? (Detecting the range of an axis and
letting the user select what does what, and stuff like that)
If no one does I can post mine. It mostly works (It can select a
configuration and adjust everything, and save it, but there are some
bugs), but is very confusing to use, and overly complicated.
Unsubscribe or switch delivery mode:
Search the archives of this list here: