blender/source/gameengine/GameLogic/Joystick
Mitchell Stokes 6a7a144f50 BGE: Fix for [#33053] "2.6x Joystick Sensor Event: Axis fails to fire at full tilt" reported by Auuman Anubis (auuman_anubis).
The problem was that SCA_Joystick::pAxisTest() was using shorts, and tried to store abs(MIN_SHRT) in a short. However, on most systems MIN_SHRT == -32768 and MAX_SHRT == 32767. This means that abs(MIN_SHRT) > MAX_SHRT, and thus the short would overflow.
2013-01-06 23:11:12 +00:00
..
SCA_Joystick.cpp BGE: Fix for [#33053] "2.6x Joystick Sensor Event: Axis fails to fire at full tilt" reported by Auuman Anubis (auuman_anubis). 2013-01-06 23:11:12 +00:00
SCA_Joystick.h BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: 2012-12-21 02:28:59 +00:00
SCA_JoystickDefines.h code cleanup: capitalize defines. 2012-09-06 01:31:15 +00:00
SCA_JoystickEvents.cpp style cleanup 2012-10-22 08:15:51 +00:00
SCA_JoystickPrivate.h misc edits 2011-10-20 00:19:21 +00:00