Glenn Maynard
|
0c711f840a
|
revert unintended
|
2006-12-28 00:06:21 +00:00 |
|
Glenn Maynard
|
41f8e2975e
|
update ButtonPressed
|
2006-12-26 23:12:36 +00:00 |
|
Glenn Maynard
|
4b937130c9
|
remove Down
|
2006-12-26 23:11:10 +00:00 |
|
Glenn Maynard
|
9bfd0833b4
|
set level, not down param
|
2006-12-26 22:54:18 +00:00 |
|
Glenn Maynard
|
9f5101783d
|
set level, not down param
|
2006-12-26 22:45:00 +00:00 |
|
Glenn Maynard
|
e5ad264bbf
|
phase out down param
|
2006-12-26 22:42:54 +00:00 |
|
Glenn Maynard
|
01d9e04916
|
no down param
|
2006-12-26 22:42:04 +00:00 |
|
Glenn Maynard
|
ef9bf1835e
|
merge/simplify
|
2006-12-18 22:06:23 +00:00 |
|
Glenn Maynard
|
d7da6c5a26
|
revert unintended
|
2006-12-18 21:36:05 +00:00 |
|
Glenn Maynard
|
17c32b90c2
|
Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
|
2006-12-17 07:41:21 +00:00 |
|
Glenn Maynard
|
fc6033d754
|
cleanup
|
2006-12-17 07:16:06 +00:00 |
|
Glenn Maynard
|
a8dc57f38e
|
merge duplicate boilerplate code
|
2006-12-17 07:15:25 +00:00 |
|
Glenn Maynard
|
d4f43cf844
|
reduce boilerplate code
|
2006-12-17 07:00:30 +00:00 |
|
Steve Checkoway
|
0022407a7a
|
I think this handles repeat events correctly now. It is hard for me to test it though.
|
2006-12-15 05:51:22 +00:00 |
|
Steve Checkoway
|
0e38878528
|
We can be sure that if the low level window is going to be created, it will already have been created so we need only set the event masks here and they will be preserved across window recreations.
|
2006-12-07 12:56:22 +00:00 |
|
Vecais Dumais Laacis
|
8f7ed8f6de
|
fixed compile problem and made changes to initialize memory cards when initializing input devices
|
2006-12-07 08:45:18 +00:00 |
|
Steve Checkoway
|
e03934c21f
|
Do not rebuild the lookup table each time the function is called.
|
2006-12-07 08:17:18 +00:00 |
|
Steve Checkoway
|
971e34e0c7
|
Fix input handling code. Read key presses/releases in order. If two presses in a row come, do not send another event. Do not disable key repeats.
|
2006-12-07 08:15:50 +00:00 |
|
Steve Checkoway
|
1e505ff81e
|
copy/paste error.
|
2006-11-18 20:27:15 +00:00 |
|
Steve Checkoway
|
7d6a2a7079
|
fix
|
2006-11-18 20:07:38 +00:00 |
|
Steve Checkoway
|
ce35f77653
|
simplify
|
2006-11-18 19:59:25 +00:00 |
|
Steve Checkoway
|
a25915855a
|
Update other arches. Not tested.
|
2006-11-18 19:35:02 +00:00 |
|
Steve Checkoway
|
6365e3607f
|
Move stuff out of arch using a registration system modeled after Screen.
|
2006-11-18 19:34:28 +00:00 |
|
Steve Checkoway
|
0d10c76e87
|
Unscatter arch includes.
|
2006-11-17 18:25:20 +00:00 |
|
Glenn Maynard
|
1e21152174
|
fix compile
|
2006-11-02 03:47:02 +00:00 |
|
Jason Felds
|
9b2c28db6a
|
True VC8 fix (thanks again drano).
|
2006-09-30 09:19:33 +00:00 |
|
Glenn Maynard
|
dfd95fd730
|
InputDevice_Invalid
|
2006-09-26 21:19:17 +00:00 |
|
Jason Felds
|
d48f3ea016
|
VC8 Hack: pToUnicodeEx doesn't work yet. Use the old definition.
|
2006-09-25 01:35:33 +00:00 |
|
Glenn Maynard
|
95faef1776
|
cleanup
|
2006-09-21 07:41:22 +00:00 |
|
Glenn Maynard
|
d2df988807
|
use ToUnicodeEx if available
|
2006-09-21 07:32:34 +00:00 |
|
Glenn Maynard
|
03ce23e9ea
|
ARRAYLEN
|
2006-09-18 23:27:09 +00:00 |
|
Glenn Maynard
|
b77024f3bc
|
include
|
2006-09-18 22:45:42 +00:00 |
|
Glenn Maynard
|
1f7fe1afd3
|
include
|
2006-09-18 22:24:18 +00:00 |
|
Glenn Maynard
|
6a1db3af03
|
remove old sdl stuff
|
2006-09-15 23:52:37 +00:00 |
|
Steve Checkoway
|
87d3d0e043
|
Cleanup.
|
2006-09-15 19:03:21 +00:00 |
|
Steve Checkoway
|
89c3ef56d4
|
Remove Xbox hack. (Unless there's a DEL defined as well.)
|
2006-09-15 18:21:41 +00:00 |
|
Steve Checkoway
|
125fccc33c
|
Simplify. Don't pass the button pressed bool along. This can be derived from the level every time.
|
2006-09-15 08:31:53 +00:00 |
|
Renaud Lepage
|
597cadd347
|
"Ugly" Xbox fix. It's that, or renaming all the DELETE define of the InputHandler and its users.
|
2006-09-15 03:09:17 +00:00 |
|
Steve Checkoway
|
5083893317
|
Use UCKeyTranslate if the 'uchr' resource exists. If not, fall back on the 'KCHR' resource.
|
2006-09-14 09:13:46 +00:00 |
|
Steve Checkoway
|
dd0e3ce082
|
Cleanup.
|
2006-09-14 07:20:05 +00:00 |
|
Steve Checkoway
|
4dd57b99bd
|
Don't hard code joystick and pump numbers.
|
2006-09-14 06:06:53 +00:00 |
|
Chris Danford
|
790ccdbcbe
|
fix joystick number not shown on input mapping screen
|
2006-08-08 08:46:40 +00:00 |
|
Steve Checkoway
|
fd424585f2
|
Fix assert with monkey keyboard.
|
2006-07-26 00:31:48 +00:00 |
|
Steve Checkoway
|
7d2ff868e1
|
Cleanup. (This was written by Chris but InputHandler_MonkeyKeyboard.h was written by Glenn?)
|
2006-07-26 00:29:26 +00:00 |
|
Steve Checkoway
|
a07e194cf1
|
Revert. Fixes Linux build.
|
2006-07-18 05:51:37 +00:00 |
|
Jason Felds
|
366c3440d4
|
Fix VC8 macro redef warning. (more to come)
|
2006-07-18 03:56:37 +00:00 |
|
Steve Checkoway
|
80698277cf
|
Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
|
2006-06-26 12:14:30 +00:00 |
|
Chris Danford
|
f94566100f
|
no character for Enter
|
2006-06-16 06:28:31 +00:00 |
|
Chris Danford
|
0b5baba88c
|
fix compile
|
2006-06-16 06:27:53 +00:00 |
|
Glenn Maynard
|
c29c725f4b
|
cleanup (one-step conversion instead of three-step)
|
2006-06-15 07:29:34 +00:00 |
|