Commit graph

20 commits

Author SHA1 Message Date
Philipp Wiesemann
0f1075b48e Fixed compiling of three test programs with C++. 2016-09-21 23:06:38 +02:00
Sam Lantinga
7ee8dda270 Updated copyright to 2016 2016-01-02 10:10:34 -08:00
Sam Lantinga
7d9b80ccb3 Fixed mapping third party XBox controllers that have the trigger axis all the way in until they are pulled and get updated values. 2015-12-18 18:49:23 -08:00
Philipp Wiesemann
da4d0e4a52 Replaced tabs with spaces in test programs. 2015-11-25 21:39:28 +01:00
Sam Lantinga
56b58afdbe Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
Philipp Wiesemann
ba95566488 Fixed setting text to clipboard in controllermap program. 2014-12-10 21:13:43 +01:00
Philipp Wiesemann
4e8cb4d7be Fixed use of uninitialized variable warning in test program. 2014-05-29 22:44:08 +02:00
Gabriel Jacobo
04d8bb1069 A few more ANDROID for __ANDROID__ replacements 2014-05-10 15:57:09 -03:00
Gabriel Jacobo
e79e6a8637 Fixes #2456, controllermap's undo does not work correctly (by Bogdan Marinov) 2014-03-24 11:42:09 -03:00
Ryan C. Gordon
14e7c1e341 controllermap: Don't treat SDL_HAT_CENTERED as a valid input.
--HG--
extra : rebase_source : d3d69e6f0f44f04fb8bf910b5888a5040be579d3
2014-03-18 12:33:57 -04:00
Ryan C. Gordon
f4f293ae2a Make controllermap, etc, work on platforms with hardcoded window sizes.
This makes sure everything renders correctly, even if, say, an Android device
gives you a certain "window" size no matter what you ask for.
2014-02-10 11:29:48 -05:00
Gabriel Jacobo
fddd6a295f Backed out 51935d107921
The render target usage in controllermap is required if you are forced to use
the app at a different resolution than the one the art has been made for, for
example on Android, where you don't control the resolution.
(The coordinates for each button are hardcoded to the art size, and appear out
of place otherwise)
2014-02-10 09:26:22 -03:00
Ryan C. Gordon
a2021a76d6 Removed unused function. 2014-02-10 01:43:01 -05:00
Ryan C. Gordon
755c18bf87 No need to use a render target here. 2014-02-09 15:20:41 -05:00
Sam Lantinga
d7940a513e Fixed bug 2374 - Update copyright for 2014...
Is it that time already??
2014-02-02 00:53:27 -08:00
Philipp Wiesemann
0319037b72 Fixed access of command line arguments on Android in two test programs. 2013-12-25 00:11:28 +01:00
Philipp Wiesemann
eee2bcca85 Fixed unused local variable warning in test program source. 2013-12-25 00:04:31 +01:00
Gabriel Jacobo
b3fa9a3e55 [Android] Handle native thread finishing when not commanded from the Java side 2013-12-05 10:51:38 -03:00
Gabriel Jacobo
137f4aedc1 Adds SDL_GameControllerAddMappingsFromRW, updates controllermap
SDL_GameControllerAddMappingsFromFile is now a convenience macro.

controllermap can now skip bindings by pressing space or clicking/touching the
screen.
2013-12-03 12:01:28 -03:00
Gabriel Jacobo
9054b03edb Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00