Commit Graph

45 Commits

Author SHA1 Message Date
Chris Danford 8eb39f2355 assert -> warning 2005-06-08 06:29:48 +00:00
Glenn Maynard f39c970c43 better error 2005-06-06 18:30:12 +00:00
Chris Danford 2c9993c900 assert when an input handler passes us a bad DeviceInput 2005-06-03 22:54:35 +00:00
Glenn Maynard f8f94844b2 fix zero timestamps on reset
warn about zero timestamps
2005-05-17 20:50:39 +00:00
Glenn Maynard c765508bc1 fix crash due to memset()ing a non-POD 2005-05-10 04:42:14 +00:00
Glenn Maynard ed1c6ff32f add input button comments 2005-05-08 09:19:35 +00:00
Chris Danford f46f9d70d7 human readable Keymaps.ini 2005-04-24 02:15:41 +00:00
Glenn Maynard b1d8b2a51e simplify 2004-09-25 06:40:18 +00:00
Glenn Maynard 4e5077ef84 cleanup, handle IET_LEVEL_CHANGED 2004-09-09 22:14:33 +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 733127d8ed license update 2004-06-08 01:24:17 +00:00
Glenn Maynard aedc2d39e1 remove trace 2004-04-20 04:13:23 +00:00
Glenn Maynard ef193252bc noisy debug: log button presses/releases 2004-03-29 05:03:05 +00:00
Glenn Maynard a220a6fb55 can't use CircBuf for InputFilter; many input threads may be coming in with
events and it's only threadsafe for one writer
2004-03-21 08:20:30 +00:00
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Glenn Maynard 9b2f146605 SetRepeatRate, ResetRepeatRate, ResetKeyRepeat 2003-11-25 21:46:30 +00:00
Chris Danford 8c3db31ba7 optimize InputFilter::Update 2003-10-07 05:59:58 +00:00
Glenn Maynard b13cb43aa6 IniFile::GetValueB->GetValue, etc. Cleanup. 2003-10-02 02:03:29 +00:00
Glenn Maynard b10eca3a32 remove DeviceInput hack 2003-09-28 23:23:21 +00:00
Chris Danford 76711921e6 performance fix 2003-09-07 19:35:32 +00:00
Glenn Maynard 8f3927478f add ForceKey, StopForcingKey 2003-09-03 21:49:11 +00:00
Glenn Maynard a5e1f86efd fix 2003-07-26 22:29:34 +00:00
Glenn Maynard dc9b6ed06d don't pull in RageThreads.h 2003-07-26 21:58:48 +00:00
Glenn Maynard d413d6f0be (It's supposed to look like a function call; a function call that casts one
type to another.)

Use a C-style cast instead of static_cast; more readable.
2003-07-15 00:50:52 +00:00
Steve Checkoway 423f27eb02 g++ didn't like InputDevice(d) for some reason. (I don't much like it myself. It looks too much like a function call or something.) 2003-07-15 00:40:18 +00:00
Glenn Maynard 5adb26a169 thread safety 2003-07-14 06:21:12 +00:00
Glenn Maynard 9fe82671a6 fix InputFilter::Reset losing key release events 2003-06-25 06:33:18 +00:00
Chris Danford ae2be8a170 Fix stuck keys after toggle fullscreen 2003-06-22 04:38:05 +00:00
Glenn Maynard 8ca36e9cfb add InputFilter::ResetDevice 2003-06-21 20:58:40 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard 7578257a17 Use SDL events for keyboard and joystick input. It's simpler.
It's also the "preferred" way of doing it, according to the SDL
docs, so maybe it'll work better.

This will reliably queue events, so we can handle coin events during
loads.

It'll queue events a little too reliably; we might want to flush some events
when we load screens.
2003-02-16 01:35:48 +00:00
Chris Danford 4a588230e1 DirectInput replaced with SDL's input routines. Keyboard works, but joystick and pump are untested. 2002-11-29 20:37:12 +00:00
Glenn Maynard bccaf3560b s/Add/push_back/ 2002-10-31 04:23:39 +00:00
Chris Danford 15fc589cc6 Fixed articts in hold note and life frames. 2002-10-18 19:01:32 +00:00
Glenn Maynard 49efb3ebf5 fix silly error (i'd have noticed this sooner if I'd spend more time playing
and less time coding)
2002-09-09 03:40:43 +00:00
Glenn Maynard 839d2388a2 Filter layer over *BeingPressed in InputFilter, to put odd special cases
without mussing up RageInput.

Disables the new joystick axes (they're only there for a USB converter
special case that I havn't added yet and will cause problems for others).
2002-09-08 06:10:23 +00:00
Glenn Maynard 89a8953bba Handle IET_RELEASE. 2002-08-21 22:49:13 +00:00
Glenn Maynard 43cb55dcde Use DeviceInput::NumButtons. 2002-08-20 22:51:47 +00:00
Chris Danford 4ec08edf2d Mini-rewrite of input mapping, theme support, and added KSF reader. 2002-07-31 19:40:40 +00:00
Chris Danford 0bc6e1ec7e weekend checkin 2002-06-14 22:25:22 +00:00
Chris Danford 2f80235590 no message 2002-05-19 01:59:48 +00:00
Chris Danford 6f1c1e4619 no message 2002-05-01 19:14:55 +00:00
Chris Danford 78f3e80118 2.50 checkin 2002-04-16 17:31:00 +00:00