Commit graph

18 commits

Author SHA1 Message Date
thefiddler 3e33ac9280 [Platform] Refactored INativeWindow backends
All INativeWindow implementations are now derived from
NativeWindowBase. They no longer implement legacy IInputDriver
themselves, but rather rely on LegacyInputDriver provided by
NativeWindowBase for compatibility. They also implement the new Mouse*
events.
2014-05-02 16:52:11 +02:00
thefiddler d03e9d82dc [Input] Fixed key modifiers in KeyboardDevice events 2014-04-27 22:27:18 +02:00
thefiddler 3658fac263 [Input] Use Key.LastKey instead of Enum.GetValues
This avoids unnecessary memory allocations in the KeyboardDevice
constructor.
2014-04-25 14:15:06 +02:00
thefiddler c92aabd807 [Input] Implemented GetModifiers() method 2014-02-25 01:13:45 +01:00
thefiddler ab8796c942 [Input] Do not crash with scancodes > 255 2013-12-27 11:10:41 +01:00
Andy Korth 0f64af130a Committing artfunkel patch for scan codes 2013-01-24 15:48:01 -06: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 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 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 7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +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 8f17ac3473 Fixed erroneous KeyUp events when the window loses the focus. 2008-04-20 17:45:46 +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 4d7c6b2a31 Updated documentation. 2008-01-06 10:38:44 +00:00
the_fiddler a70754da07 Clarified KeyboardDevice.KeyRepeat documentation. 2007-12-09 19:54:08 +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
Renamed from Source/OpenTK/Input/Keyboard.cs (Browse further)