Logo
Explore Help
Sign In
dillongoostudios/goo-engine
3
0
Fork 0
You've already forked goo-engine
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
4d1d50ea8bc3e01387d8c052d797bec32c798a77
goo-engine/source/gameengine/GameLogic/Joystick
T
History
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
…
SCA_JoystickEvents.cpp
…
SCA_JoystickPrivate.h
…
Powered by Gitea Version: 1.26.2 Page: 2915ms Template: 21ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API