Commit graph

73 commits

Author SHA1 Message Date
the_fiddler
4914574bd4 Document that these APIs are incomplete. 2009-11-01 12:40:25 +00:00
the_fiddler
997f57c1f7 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
cd9ea45427 Suppressed 'unused code' warnings. 2009-09-04 22:16:02 +00:00
the_fiddler
6fdf37f99f 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
33db1f6b74 Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler
abf3787e8e 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
f8467ab767 * 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
0fdcb94ca9 * 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
f6da09177e 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
ec24c5022f Added GetState() method for primary keyboard. 2009-08-04 08:47:53 +00:00
the_fiddler
2bd89e87df Marked KeyDownEvent and KeyUpEvent as obsolete. 2009-06-28 10:33:03 +00:00
the_fiddler
09a24a17d7 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
70f68a302f Added missing XML documentation. 2009-06-28 10:02:25 +00:00
the_fiddler
4e28071a26 Added Mouse and Keyboard stubs for the new input API. 2009-06-28 10:01:54 +00:00
the_fiddler
7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
6131379091 Fixed bug #776 (Incorrect XDelta and YDelta values...) 2009-04-04 23:05:53 +00:00
the_fiddler
d4aef922bc Fixed all known build warnings, apart from missing xml comments. 2009-03-25 21:53:12 +00:00
the_fiddler
ca1e416a53 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
9981b92e5a Removed unused (duplicate) details field. 2009-03-07 10:46:49 +00:00
the_fiddler
51e2d93e38 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
44e4971a38 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
2eeb1a7bd9 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler
6118f4fdec Initial joystick support (not public yet). 2009-02-28 23:11:27 +00:00
the_fiddler
69b17fa43f 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
085ce196f4 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
f4700cb676 Commented out to remove warnings until actual implementation. 2008-11-03 22:15:56 +00:00
the_fiddler
80bde7f7ac Preliminary implementation of JoystickDevice. 2008-06-22 16:21:52 +00:00
the_fiddler
817ff38630 Fixed a comment typo. 2008-06-21 20:44:53 +00:00
the_fiddler
3c6fc58750 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
1510c282de Fixed a bug where WheelDelta reported the same value as Wheel. 2008-05-04 17:47:09 +00:00
the_fiddler
f65fd4b221 Fixed mouse delta handling. 2008-05-04 17:42:19 +00:00
the_fiddler
027c6eb542 Fixed line endings. 2008-05-04 17:18:54 +00:00
the_fiddler
8f17ac3473 Fixed erroneous KeyUp events when the window loses the focus. 2008-04-20 17:45:46 +00:00
the_fiddler
26f1ac30d0 Added support for higher mouse buttons under X11.
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler
e49b1beb7b Added internal ClearKeys method. Made the constructor internal. Added docs to a few functions. 2008-03-10 08:49:48 +00:00
the_fiddler
9abcb5d92e 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
3361692f62 Moved OpenTK.InputDriver to OpenTK.Input.InputDriver. 2008-01-31 14:45:00 +00:00
the_fiddler
878af03601 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
4d7c6b2a31 Updated documentation. 2008-01-06 10:38:44 +00:00
the_fiddler
03feb5b512 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
a70754da07 Clarified KeyboardDevice.KeyRepeat documentation. 2007-12-09 19:54:08 +00:00
the_fiddler
f769caa4f1 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
e43b3e9fad Line endings. 2007-09-26 15:47:13 +00:00
the_fiddler
7f721e3d3f Renamed Keyboard/Mouse to Keyboard-/MouseDevice. Avoids name clashes. 2007-09-26 11:51:49 +00:00
the_fiddler
c5444179ba Renamed Keyboard and Mouse to KeyboardDevice and MouseDevice respectively, to avoid name classes. 2007-09-26 11:30:18 +00:00
the_fiddler
8efe9afe2e 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
61102b359d Work on X11 mouse driver. 2007-09-24 20:10:14 +00:00
the_fiddler
e277e3b272 Windows raw input now works. 2007-09-22 13:13:17 +00:00
the_fiddler
52a6690150 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
21d6030a6a Corrected Windows.API.RawMouse class. Mouse input now works! 2007-09-21 22:39:16 +00:00