Files
itgmania212121/stepmania/src
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
..
2004-09-09 03:23:16 +00:00
2004-06-20 01:35:25 +00:00
2004-06-20 01:35:25 +00:00
2004-08-08 19:08:40 +00:00
2004-06-29 03:28:10 +00:00
2004-06-29 03:28:10 +00:00
2004-08-07 19:02:41 +00:00
2004-09-06 06:50:29 +00:00
2004-05-13 06:02:32 +00:00
2004-08-29 10:44:51 +00:00
2004-06-08 00:47:53 +00:00
2004-06-08 00:47:53 +00:00
2004-06-08 00:47:53 +00:00
2004-06-08 00:47:53 +00:00
2004-08-12 23:06:06 +00:00
2004-06-08 00:47:53 +00:00
2004-06-08 01:24:17 +00:00
2004-06-08 01:24:17 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-08-29 07:12:37 +00:00
2004-06-28 07:26:00 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-08-28 09:18:02 +00:00
2004-06-08 00:08:04 +00:00
2004-09-05 03:32:45 +00:00
2004-06-02 05:12:45 +00:00
2004-05-31 22:42:12 +00:00
2004-06-16 00:38:31 +00:00
2004-06-01 00:53:06 +00:00
2004-06-08 01:24:17 +00:00
2004-08-06 21:01:28 +00:00
2004-06-07 21:14:03 +00:00
2004-09-07 09:16:08 +00:00
2004-08-20 05:22:46 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-05-31 22:42:12 +00:00
2004-06-08 05:35:39 +00:00
2004-06-08 05:49:00 +00:00
2004-06-08 05:49:00 +00:00
2004-06-08 00:08:04 +00:00
2004-07-31 21:26:11 +00:00
2004-07-31 21:26:11 +00:00
2004-06-07 21:14:03 +00:00
2004-09-08 00:33:20 +00:00
2004-08-30 22:15:57 +00:00
2004-06-07 21:14:03 +00:00
2004-09-08 00:03:06 +00:00
2004-06-07 21:14:03 +00:00
2004-07-11 10:02:38 +00:00
2004-06-08 05:30:06 +00:00
2004-06-08 05:30:06 +00:00
2004-06-08 01:24:17 +00:00
2004-08-22 05:37:12 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-10 22:47:51 +00:00
2004-06-04 03:42:49 +00:00
2004-06-07 21:14:03 +00:00
2004-07-25 06:29:50 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-08 00:45:30 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-08-06 21:01:28 +00:00
2004-05-31 22:42:12 +00:00
2004-07-11 03:50:52 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-07-25 17:07:32 +00:00
2004-07-25 17:07:32 +00:00
2004-07-30 06:32:24 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-08-30 06:41:56 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-09-09 17:58:52 +00:00
2004-07-25 17:07:32 +00:00
2004-09-08 01:38:22 +00:00
2004-08-28 21:14:39 +00:00
2004-06-08 00:08:04 +00:00
2004-07-27 04:31:01 +00:00
2004-05-02 21:53:39 +00:00
2004-06-20 01:35:25 +00:00
2004-08-10 19:12:03 +00:00
2004-05-31 22:42:12 +00:00
2004-07-18 02:38:52 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-08-28 09:18:02 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-08-22 17:23:08 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-08-10 22:19:06 +00:00
2004-05-23 02:27:51 +00:00
2004-06-08 01:24:17 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-28 07:26:00 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-07-25 07:22:31 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 01:24:17 +00:00
2004-06-07 21:14:03 +00:00
2004-05-31 22:42:12 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-09-08 06:48:45 +00:00
2004-06-08 00:45:30 +00:00
2004-06-07 21:14:03 +00:00
2004-07-25 17:07:32 +00:00
2004-07-25 06:29:50 +00:00
2004-06-07 21:14:03 +00:00
2004-06-08 00:47:53 +00:00
2004-06-01 00:53:06 +00:00
2004-07-25 17:07:32 +00:00
2004-08-19 08:32:18 +00:00
2004-08-19 08:32:18 +00:00
2004-08-28 09:18:02 +00:00
2004-06-08 00:47:53 +00:00
2004-07-25 17:07:32 +00:00
2004-06-06 20:21:50 +00:00
2004-06-06 20:24:25 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-08 00:45:30 +00:00
2004-06-07 21:14:03 +00:00
2004-09-04 21:32:36 +00:00
2004-06-07 21:14:03 +00:00
2004-07-17 05:10:11 +00:00
2004-07-17 05:10:11 +00:00
2004-07-27 04:34:06 +00:00
2004-05-31 21:55:14 +00:00
2004-05-31 22:07:09 +00:00
2004-05-31 22:07:09 +00:00
2004-05-31 22:07:09 +00:00
2004-05-31 21:55:14 +00:00
2004-06-16 00:38:31 +00:00
2004-05-31 21:55:14 +00:00
2004-05-31 21:55:14 +00:00
2004-05-31 22:42:12 +00:00
2004-05-31 22:42:12 +00:00
2004-08-06 21:01:28 +00:00
2004-06-07 21:14:03 +00:00
2004-08-29 07:12:37 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-07-25 06:29:50 +00:00
2004-06-08 00:08:04 +00:00
2004-08-19 01:18:11 +00:00
2004-08-19 01:18:11 +00:00
2004-05-31 21:55:14 +00:00
2004-05-31 21:55:14 +00:00
2004-05-31 21:55:14 +00:00
2004-09-09 16:14:21 +00:00
2004-09-09 16:14:21 +00:00
2004-09-09 02:24:08 +00:00
2004-09-09 02:24:08 +00:00
2004-09-09 04:20:21 +00:00
2004-08-09 05:01:24 +00:00
2004-07-25 06:29:50 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:47:53 +00:00
2004-09-05 23:35:49 +00:00
2004-06-16 21:14:56 +00:00
2004-09-05 23:35:49 +00:00
2004-09-06 04:17:03 +00:00
2004-08-15 15:25:15 +00:00
2004-07-24 03:01:23 +00:00
2004-06-06 20:22:56 +00:00
2004-09-01 23:12:20 +00:00
2004-09-06 06:25:03 +00:00
2004-09-05 03:43:05 +00:00
2004-09-06 09:36:12 +00:00
2004-05-21 22:34:56 +00:00
2004-08-19 02:13:07 +00:00
2004-09-08 00:36:30 +00:00
2004-08-21 07:01:54 +00:00
2004-09-09 08:51:07 +00:00
2004-06-15 06:24:58 +00:00
2004-07-14 21:06:03 +00:00
2004-05-06 02:40:33 +00:00
2004-06-13 20:03:18 +00:00
2004-05-11 21:16:59 +00:00
2004-08-21 07:01:54 +00:00
2004-08-21 07:01:54 +00:00
2004-06-14 20:31:23 +00:00
2004-06-14 20:26:53 +00:00
2004-06-14 20:26:25 +00:00
2004-06-16 21:14:56 +00:00
2004-08-30 06:38:08 +00:00
2004-06-16 21:14:56 +00:00
2004-06-14 20:32:15 +00:00
2004-06-14 01:12:22 +00:00
2004-06-14 22:24:20 +00:00
2004-06-14 22:24:20 +00:00
2004-09-04 04:26:35 +00:00
2004-09-04 04:15:05 +00:00
2004-09-09 03:09:39 +00:00
2004-05-06 02:40:33 +00:00
2004-06-08 05:55:00 +00:00
2004-05-06 02:40:33 +00:00
2004-09-09 02:28:05 +00:00
2004-09-09 02:28:05 +00:00
2004-08-15 22:41:46 +00:00
2004-05-06 02:40:33 +00:00
2004-09-08 02:28:32 +00:00
2004-08-10 01:52:55 +00:00
2004-09-05 04:12:42 +00:00
2004-09-05 04:12:42 +00:00
2004-07-11 03:50:52 +00:00
2004-05-31 21:35:31 +00:00
2004-05-31 21:35:31 +00:00
2004-07-02 20:08:17 +00:00
2004-07-02 20:08:17 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-07-25 06:29:50 +00:00
2004-06-08 00:08:04 +00:00
2004-07-25 06:29:50 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-06-08 00:08:04 +00:00
2004-07-25 06:29:50 +00:00
2004-06-08 00:08:04 +00:00
2004-05-31 21:35:31 +00:00
2004-05-31 21:35:31 +00:00
2004-05-31 21:35:31 +00:00
2004-09-09 17:48:25 +00:00
2004-09-09 17:58:52 +00:00
2004-06-08 05:22:33 +00:00
2004-06-16 21:14:56 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-09-09 16:14:21 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-05-22 00:12:57 +00:00
2004-06-08 05:49:00 +00:00
2004-08-30 06:41:56 +00:00
2004-07-08 00:10:34 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:26 +00:00
2004-08-19 01:18:11 +00:00
2004-06-08 05:22:33 +00:00
2004-06-13 05:05:42 +00:00
2004-06-13 05:05:42 +00:00
2004-08-26 04:25:16 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 17:07:32 +00:00
2004-06-08 05:22:33 +00:00
2004-06-09 04:28:27 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 17:07:32 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-06-08 05:22:33 +00:00
2004-08-12 23:03:01 +00:00
2004-08-25 04:02:40 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:55:00 +00:00
2004-06-08 05:22:33 +00:00
2004-07-28 16:05:39 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 07:22:31 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:26 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 17:07:32 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 17:07:32 +00:00
2004-06-08 05:22:33 +00:00
2004-07-25 17:07:32 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:25 +00:00
2004-06-08 05:22:33 +00:00
2004-09-09 17:48:26 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-08 05:22:33 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-09-04 04:30:36 +00:00
2004-08-06 04:35:48 +00:00
2004-06-16 04:25:03 +00:00
2004-06-07 21:14:03 +00:00
2004-09-02 01:52:37 +00:00
2004-08-11 08:23:14 +00:00
2004-05-31 21:35:31 +00:00
2004-05-31 21:35:31 +00:00
2004-06-07 21:14:03 +00:00
2004-06-07 21:14:03 +00:00
2004-09-07 21:29:12 +00:00
2004-08-11 08:23:14 +00:00
2004-08-10 22:19:06 +00:00
2004-07-31 19:14:53 +00:00
2004-05-31 21:35:31 +00:00
2004-09-08 08:33:38 +00:00
2004-08-30 05:08:08 +00:00
2004-08-18 22:10:24 +00:00
2004-09-09 03:27:56 +00:00
2004-09-08 02:31:08 +00:00
2004-09-06 04:37:10 +00:00
2004-09-08 02:21:09 +00:00
2004-06-15 06:24:58 +00:00
2004-09-08 05:48:48 +00:00
2004-08-29 11:04:13 +00:00
2004-08-12 04:49:15 +00:00
2004-08-12 04:49:15 +00:00
2004-07-25 17:07:32 +00:00
2004-07-25 17:07:32 +00:00
2004-05-31 21:35:31 +00:00
2004-07-25 17:07:32 +00:00
2004-07-24 06:40:51 +00:00
2004-08-06 21:01:28 +00:00
2004-06-07 21:14:03 +00:00
2004-09-06 01:00:30 +00:00
2004-05-31 21:35:31 +00:00
2004-05-31 21:35:31 +00:00
2004-08-22 17:23:08 +00:00
2004-07-24 06:40:51 +00:00
2004-07-24 06:40:51 +00:00
2004-06-01 00:53:06 +00:00
2004-06-01 00:53:06 +00:00
2004-06-08 01:24:17 +00:00
2004-06-08 19:59:33 +00:00
2004-06-01 00:57:14 +00:00