Commit graph

73 commits

Author SHA1 Message Date
the_fiddler
019f54a851 Document that these APIs are incomplete. 2009-11-01 12:40:25 +00:00
the_fiddler
9de6041fa2 Modified MouseDevice events to follow the class library design guidelines.
Changed Mouse[Move|Button|Wheel]EventArgs into classes that inherit from EventsArgs, in order to follow the event design guidelines.
2009-09-04 23:13:24 +00:00
the_fiddler
a2606049df Suppressed 'unused code' warnings. 2009-09-04 22:16:02 +00:00
the_fiddler
d2f28a6e97 Added KeyboardKeyEventArgs.
Modified KeyboardDevice.KeyDown/KeyUp to follow the class library design guidelines.
Modified samples to use the new KeyDown/KeyUp event signatures.
2009-09-04 22:10:50 +00:00
the_fiddler
685b646efa Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler
6b03992812 Added missing XML documentation and fixed invalid XML doc references.
Removed deprecated methods from IGraphicsContext.
2009-09-04 21:25:29 +00:00
the_fiddler
29cf2bf7cf * Keyboard.cs: Disabled fixed buffer due to gmcs 2.0.1 compiler bug
(bogus CS0214) warning.
Added license information.

* Mouse.cs:
* MouseState.cs:
* MouseDevice.cs:
* MouseButton.cs:
* KeyboardState.cs:
* KeyboardDevice.cs: Added license information.

* Key.cs: Added missing LastKey enum.
2009-09-03 21:15:12 +00:00
the_fiddler
1ba91af399 * GamePad.cs:
* GamePadState.cs: Added initial implementations.
* Keyboard.cs:
* KeyboardState.cs: Added a number of public members, experimentally.
2009-09-03 20:53:48 +00:00
the_fiddler
d6c4c801e1 Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler
0445ba2e00 Added GetState() method for primary keyboard. 2009-08-04 08:47:53 +00:00
the_fiddler
305a6a2749 Marked KeyDownEvent and KeyUpEvent as obsolete. 2009-06-28 10:33:03 +00:00
the_fiddler
514d0c2a05 Removed Key.None and Key.MaxKeys.
Added XML documentation to all OpenTK.Input.Key tokens.
Added typical Key names found in Windows.Forms and XNA: LControl, RControl, ...
2009-06-28 10:27:17 +00:00
the_fiddler
ea387cd9b0 Added missing XML documentation. 2009-06-28 10:02:25 +00:00
the_fiddler
e2ddfe8289 Added Mouse and Keyboard stubs for the new input API. 2009-06-28 10:01:54 +00:00
the_fiddler
cb661c2dca Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
c189bf7e75 Fixed bug #776 (Incorrect XDelta and YDelta values...) 2009-04-04 23:05:53 +00:00
the_fiddler
9265747541 Fixed all known build warnings, apart from missing xml comments. 2009-03-25 21:53:12 +00:00
the_fiddler
fc0ca5631f Relaxed checks to allow input devices that do not contain any axes and/or buttons (e.g. tablets or keyboard extensions). 2009-03-08 20:03:33 +00:00
the_fiddler
ed754a4384 Removed unused (duplicate) details field. 2009-03-07 10:46:49 +00:00
the_fiddler
3360df3af9 Added support for POV hats with WinMM.
Reversed vertical axes, so that down is -1 and up is +1.
2009-03-01 08:44:39 +00:00
the_fiddler
f6f196c90b Added JoystickAxis and JoystickButton enumerations, as well as their respective collections.
Implemented necessary Poll() functions.
2009-03-01 01:17:24 +00:00
the_fiddler
0dca74a232 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler
9b43e11ff5 Initial joystick support (not public yet). 2009-02-28 23:11:27 +00:00
the_fiddler
a22019d890 Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
e44c93bae5 Applied ALyman's patch for MouseDevice.Move (http://www.opentk.com/node/652) with modifications. 2009-02-20 18:02:34 +00:00
the_fiddler
c885f61590 Commented out to remove warnings until actual implementation. 2008-11-03 22:15:56 +00:00
the_fiddler
47bb81d62f Preliminary implementation of JoystickDevice. 2008-06-22 16:21:52 +00:00
the_fiddler
cfdcfe79ce Fixed a comment typo. 2008-06-21 20:44:53 +00:00
the_fiddler
e0ea97e2d1 Temporarily remove MouseDevice.Move event, due to issues with deltas when the mouse stops moving. 2008-05-04 18:08:03 +00:00
the_fiddler
c545500681 Fixed a bug where WheelDelta reported the same value as Wheel. 2008-05-04 17:47:09 +00:00
the_fiddler
e9e9ee5f9c Fixed mouse delta handling. 2008-05-04 17:42:19 +00:00
the_fiddler
b5fb1361ef Fixed line endings. 2008-05-04 17:18:54 +00:00
the_fiddler
102fe0039c Fixed erroneous KeyUp events when the window loses the focus. 2008-04-20 17:45:46 +00:00
the_fiddler
7473fe500e Added support for higher mouse buttons under X11.
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler
b04606640f Added internal ClearKeys method. Made the constructor internal. Added docs to a few functions. 2008-03-10 08:49:48 +00:00
the_fiddler
83afd98314 Updated to use new IWindowInfo interface.
Updated to use GraphicsFormat instead of DisplayMode.
Updated to use ColorDepth instead of ColorMode.
Improved GameWindow Exit handling, and handling of failed context creation.
Improved WinGLContext creation code, to allow for FSAA support in the future.
Fixed several shutdown bugs in WinGLContext and GraphicsContext.
Context creation no longer relies on IGLContextCreationHack.
X11GLContext is not working at the moment.
2008-02-28 13:57:07 +00:00
the_fiddler
dfdac3b484 Moved OpenTK.InputDriver to OpenTK.Input.InputDriver. 2008-01-31 14:45:00 +00:00
the_fiddler
40f32f4867 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
08d4bb7745 Updated documentation. 2008-01-06 10:38:44 +00:00
the_fiddler
fdea11cf6b Use System.Drawing.Point to hold mouse coords internally. Add property to get mouse position as a System.Drawing.Point. 2008-01-06 02:22:16 +00:00
the_fiddler
0a26f7693e Clarified KeyboardDevice.KeyRepeat documentation. 2007-12-09 19:54:08 +00:00
the_fiddler
be89cff72c Updates to delta handling. Now uses x - last_x instead of storing a delta directly. 2007-09-26 15:48:11 +00:00
the_fiddler
46cb5ca3f8 Line endings. 2007-09-26 15:47:13 +00:00
the_fiddler
9ade72ad34 Renamed Keyboard/Mouse to Keyboard-/MouseDevice. Avoids name clashes. 2007-09-26 11:51:49 +00:00
the_fiddler
f7f7dd4d31 Renamed Keyboard and Mouse to KeyboardDevice and MouseDevice respectively, to avoid name classes. 2007-09-26 11:30:18 +00:00
the_fiddler
346c7c15c8 Delete IKeyboard.cs and IMouse.cs interfaces. Not needed, as the MouseDevice and KeyboardDevice classes are sealed. 2007-09-26 11:29:18 +00:00
the_fiddler
130951343a Work on X11 mouse driver. 2007-09-24 20:10:14 +00:00
the_fiddler
1c8b77cd1b Windows raw input now works. 2007-09-22 13:13:17 +00:00
the_fiddler
11261553ea Removed Move event from IMouse (too inefficient). Polled input only.
S04 now polls for the mouse position.
Keyboard now handles events generated from code and not from physical devices.
2007-09-21 22:49:42 +00:00
the_fiddler
626c6324ca Corrected Windows.API.RawMouse class. Mouse input now works! 2007-09-21 22:39:16 +00:00