Commit graph

58 commits

Author SHA1 Message Date
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
the_fiddler 39fa68a29f Work on MouseDriver. Windows raw driver works. 2007-09-21 20:34:07 +00:00
the_fiddler 98bf228a3d Added KeyRepeat to IKeyboard.
Multiple keyboards correctly reported under Windows (Raw input driver).
Corrected some key maps in X11 and Windows Raw keyboards.
2007-09-21 20:03:53 +00:00
the_fiddler 8a73f0fb9a Beautified platform selection in GLControl.cs
Added missing ')' in Keyboard.ToString() function.
2007-09-02 00:19:01 +00:00
the_fiddler 0dbf3c04b2 Added IDisposable to all input drivers.
Updated Cube.cs to use System.Drawing.Colors.
Improved DefRawInputProc in windows API.cs
2007-08-22 00:30:16 +00:00
the_fiddler c689f50a21 Added KeyDown and KeyUp events to IKeyboard and Keyboard.
Improved input logger test to hook on the aforementioned events.
Removed Debug printing of keys in OpenTK.Input.Keyboard.
Beautified X11Keyboard.cs
Added experimental code to handle X11 keyboard events (not used yet).
2007-08-20 13:45:04 +00:00
the_fiddler e220f3a71a Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler a707ef91a5 Major updates to shutdown sequence (should correct bug where GameWindow hangs on exit). Enhanced the IGameWindow interface by adding the Keyboard and IsExiting properties.
Fully implemented keyboard on X11. Renamed some OpenTK keys.
2007-08-06 09:22:04 +00:00
the_fiddler 6353793cd0 Enahnaced X11 keymap. Renamed some OpenTK keys. 2007-08-06 00:08:51 +00:00
the_fiddler 13c04f4bbd Hooked up Keyboard event handling in X11Input
Added ProcessEvents() function to IInputDriver. Does nothing on WinRawInput, but is needed by X11Input
2007-08-05 18:26:14 +00:00
the_fiddler 781d2447c3 Added one default keyboard to X11Keyboard keyboard list. 2007-08-05 16:36:33 +00:00
the_fiddler 22d4f1b3ce Renamed OpenTK.Input.Keys to OpenTK.Input.Key.
Added keymap to X11/X11Keyboard.cs (not complete).
Added GetKeyboardMapping(), DisplayFlags() and XKey enum to OpenTK.Platform.X11.API.cs
2007-08-05 16:04:39 +00:00
the_fiddler 8e440de4ac Added IMouse.cs and Mouse.cs, fixing the compilation on mono. 2007-08-05 10:17:20 +00:00
the_fiddler 24e986bc1a Started working around a subtle Mono error regarding types and properties. 2007-08-05 10:07:59 +00:00
the_fiddler e34ee87e4e Started implementing X11Input.cs, X11Keyboard.cs and X11Mouse.cs drivers. Removed some warnings from X11Api.cs 2007-08-05 09:03:22 +00:00
the_fiddler 09bd00885c Merged with gl3 branch. Resolved conflicts. Added IMouseDriver.cs 2007-08-04 23:39:56 +00:00