Commit Graph
11814 Commits
Author SHA1 Message Date
Glenn Maynard dc0542aafa fix debug output 2004-09-10 00:08:17 +00:00
Glenn Maynard 8f4f0e5c13 implement analog input centering 2004-09-09 23:53:15 +00:00
Renaud Lepage 776c1609e3 Put back Xbox centering options - needed to resize the screen manually 2004-09-09 23:10:34 +00:00
Renaud Lepage 72e0a4d11c Second Minor update : got rid of test files. Also, upgraded to VS .net 2003 2004-09-09 23:00:02 +00:00
Renaud Lepage 8f63e149d2 Fix : Xbox code - typing error. 2004-09-09 22:57:13 +00:00
Renaud Lepage c5a4a2cd61 Minor updates (debug feature furtherly disabled in the Retail build instructions) 2004-09-09 22:48:13 +00:00
Charles Lohr 50d6615193 Fix: " and ' from modified stepmania code. 2004-09-09 22:42:54 +00:00
Glenn Maynard e95bcc42f2 remove old xbox centering stuff 2004-09-09 22:23:30 +00:00
Glenn Maynard 649b3df153 handle IET_LEVEL_CHANGED 2004-09-09 22:21:50 +00:00
Glenn Maynard 4e5077ef84 cleanup, handle IET_LEVEL_CHANGED 2004-09-09 22:14:33 +00:00
Glenn Maynard b0c6686574 cleanup 2004-09-09 22:13:10 +00:00
Glenn Maynard b6aace4a89 handle analog sticks; remove xbox resizing stuff that doesn't belong in input drivers 2004-09-09 22:12:10 +00:00
Glenn Maynard a643146a54 Okay, the SDL input driver changing display preferences finally got to
me, so I'm cleaning it up.

Add "level" parameter to DeviceInput, indicating the degree the axis
or button is depressed.  If it's < 0, it's not an analog input; otherwise,
IET_LEVEL_CHANGED events will come in when the level changes.

Add secondary stick axis inputs, so there's a correct place to put them.

Handle these inputs in ScreenCenterImage.  Inputs mapped to gameplay
inputs are always a primary input; otherwise, the first stick is translate
and the secondary is scale.  Input is analog when possible; holding shift
reverses the map, so keyboard input works roughly the same as before.

Do away with the special Xbox-specific centering code; use the standard
centering matrix.  If this doesn't work, any special cases to fix it should be
hidden away in RageDisplay_D3D.

The input maps are likely to work on the Xbox as is, since the SDL driver
maps axes in order, but I can't test it.

This won't work with PS2 converters, since #1: those things map the
secondary axis to seemingly random places (on mine, JOY_Z_UP,
JOY_Z_DOWN, JOY_ROT_Z_UP, JOY_ROT_Z_DOWN), and #2: they
don't identify themselves uniquely.  Unless there's a pattern in how they're
mapping that I can't see (since I don't have many converters), this just
can't be done reliably.  (No big deal; PCs have keyboards.)
2004-09-09 22:10:21 +00:00
Renaud Lepage 5355a5934b Simplified the Xbox exit code : now it only reboots to the default dashboard of the current BIOS. 2004-09-09 21:50:09 +00:00
Glenn Maynard 84baa7fb22 support centering matrix in d3d 2004-09-09 20:25:21 +00:00
Renaud Lepage dd9f317d52 Code cleanup : Xbox does not need LoadingScreen_Null. 2004-09-09 18:40:10 +00:00
Renaud Lepage 8eb5814421 Code cleanup : bad button names were used in the Xbox section. 2004-09-09 18:39:17 +00:00
Glenn Maynard a3e10dee2b no, really, remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:34:28 +00:00
Glenn Maynard 6c28f869b1 remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:33:09 +00:00
Glenn Maynard 771ebbe17b remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:31:53 +00:00
Glenn Maynard aee0166436 remove COMPAT_KEYSYMS 2004-09-09 17:58:52 +00:00
Glenn Maynard 399533708e fix Windows compile 2004-09-09 17:57:45 +00:00
Glenn Maynard ce4656bc51 update 2004-09-09 17:48:26 +00:00
Glenn Maynard 09d9197e29 update 2004-09-09 17:48:25 +00:00
Glenn Maynard 120c09a9fb update 2004-09-09 17:34:57 +00:00
Ryan Dortmans f7fe3d007f Xbox: screen can only be resized when in the screen center screen. 2004-09-09 16:15:41 +00:00
Ryan Dortmans 1430f26179 Added Xbox implementation 2004-09-09 16:14:21 +00:00
Ryan Dortmans bad5992937 Better Xbox implementation. 2004-09-09 16:12:00 +00:00
Steve Checkoway 44174a8fa7 Unused function. 2004-09-09 08:51:07 +00:00
Ryan Dortmans cd579141b5 Made controller mapping possible in Xbox 2004-09-09 08:50:16 +00:00
Charles Lohr 2dac0c1523 Fix: Crash when playing w/o marvelouses. And show AAA players in rainbow. 2004-09-09 05:32:00 +00:00
Glenn Maynard dff8a88542 update 2004-09-09 04:28:48 +00:00
Glenn Maynard ba5b881acf quiet warning 2004-09-09 04:20:21 +00:00
Glenn Maynard 8989cc096d log TLS 2004-09-09 03:27:56 +00:00
Glenn Maynard 685c83543a cache tid in tls 2004-09-09 03:23:16 +00:00
Glenn Maynard b88146f3e6 tls check 2004-09-09 03:22:24 +00:00
Glenn Maynard 65b0be2513 cleanup 2004-09-09 03:09:39 +00:00
Glenn Maynard 0a11fe26df fix pages being given default maps that they shouldn't have 2004-09-09 02:59:15 +00:00
Glenn Maynard 82a2c657fd GetSupportsTLS/SetSupportsTLS 2004-09-09 02:28:05 +00:00
Glenn Maynard 481cde47a3 SM_TLS 2004-09-09 02:25:28 +00:00
Glenn Maynard 006c10e1e4 add tls check 2004-09-09 02:24:52 +00:00
Glenn Maynard 49f5ce2f8c update 2004-09-09 02:24:08 +00:00
Glenn Maynard b2ea5452e8 fix SongUtil::SortSongPointerArrayBySectionName ordering 2004-09-09 01:56:05 +00:00
Josh Allen 6e3fd323df Changes to ScreenNetSelectMusic. 2004-09-09 01:02:50 +00:00
Glenn Maynard 6b450d396e debug 2004-09-09 00:20:45 +00:00
Glenn Maynard 8e7164dae5 improve backtracing 2004-09-08 22:39:28 +00:00
Glenn Maynard 34f22e588c fix up SemaImpl_Pthreads::Wait 2004-09-08 21:58:47 +00:00
Glenn Maynard 22570a4c33 cleanup 2004-09-08 21:19:13 +00:00
Glenn Maynard 07cc95f520 cleanup 2004-09-08 21:18:33 +00:00
Glenn Maynard 4d829e3d29 wait, no. It's GetThreadBacktraceContext's job to suspend the thread. 2004-09-08 21:17:43 +00:00