Open GoogleCodeExporter opened 9 years ago
Original comment by ShadowIs...@gmail.com
on 17 Nov 2008 at 6:33
The basic layout was decided for this system.
Mappings to various inputs are stored in the game config. Mappings generate
ActionEvents, interested parties can receive notifications of ActionEvents by
registering an InputActionListener in the input manager.
An ActionEvent specifies a floating point value 'velocity' indicating the delta
(for
mouse movement and wheel), 0 or 1 (for buttons) or the current axis value
(joystick).
Negative values represent their own input action, e.g negative mouse movement
along
the X axis is different from positive movement along the X axis.
Original comment by ShadowIs...@gmail.com
on 17 Nov 2008 at 7:53
Original issue reported on code.google.com by
ShadowIs...@gmail.com
on 17 Nov 2008 at 6:32