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
Glenn Maynard
3e7f55ae30
no, don't use pthreads extensions if we don't at least have timedlock (not going to bother making it two tests unless it's actually needed)
2004-09-08 08:56:19 +00:00
Steve Checkoway
7da3bacbda
update
2004-09-08 08:51:46 +00:00
Steve Checkoway
bf3ce581af
OS X has pthread_cond_timedwait but not pthread_mutex_timedlock.
2004-09-08 08:36:43 +00:00
Steve Checkoway
03e703e447
Fix OS X compile.
2004-09-08 08:35:07 +00:00
Steve Checkoway
c0c98557c0
Fix warnings.
2004-09-08 08:33:38 +00:00
Glenn Maynard
96d780514e
ForceCrashHandlerDeadlock(GetInvalidThreadId()) support
2004-09-08 08:08:06 +00:00
Steve Checkoway
dbbf9497cd
Fix connect. Just about everything has gethostbyname. It is not thread safe and probably should not be used in general; however, it is fine here.
2004-09-08 08:06:35 +00:00
Glenn Maynard
2625da14f2
cleanup
...
support semaphore timeouts
2004-09-08 07:56:32 +00:00
Glenn Maynard
8c92f9ec0f
cleanup, simplify
2004-09-08 07:34:38 +00:00
Glenn Maynard
b582fa5ebc
update
2004-09-08 06:48:45 +00:00
Glenn Maynard
81f2f6460a
hopefully fix init order in vc6
2004-09-08 06:33:07 +00:00
Chris Danford
eb5e274128
fix Xbox compile
2004-09-08 05:48:48 +00:00