the_fiddler
b646cfa06c
* X11KeyMap.cs: Added AltGr keycode.
...
* X11Mouse.cs: Use XQueryPointer instead of trying to hook events.
* X11Keyboard.cs: Improved handling of key modifiers.
* X11Factory.cs: Use new X11Mouse API.
* Functions.cs: Added XButtonGrab/XButtonUngrab.
* API.cs: Added missing XF86 keysyms.
2010-11-04 17:57:09 +00:00
the_fiddler
915f8e559f
* X11Keyboard.cs: Use XQueryKeymap to discover key state.
...
* X11Factory.cs: Use new X11Keyboard interface.
Temporarily disabled XI2Mouse for testing.
* Functions.cs: Fixed type declaration for Time.
Added support for XIGrabDevice, XIUngrabDevice, XGrabKey, XUngrabKey,
XAllowEvents and XKeycodeToKeysym/XKeysymToKeycode.
* API.cs: Enumerate modes for XAllowEvents.
2010-11-01 08:01:44 +00:00
the_fiddler
2934c9d004
Decoupled new driver API from old public interface.
...
WinRawMouse can now detect mouse disconnection/connection events.
2010-10-29 11:27:40 +00:00
the_fiddler
e638652d01
* Platform/X11/X11Keyboard.cs: Added index bounds check for
...
GetState.
2010-10-21 07:56:48 +00:00
the_fiddler
1529f811ac
* X11Keyboard.cs: Do not allocate an X11WindowInfo unnecessarily.
2010-10-20 15:16:55 +00:00
the_fiddler
e801660ff7
* Source/OpenTK/OpenTK.csproj:
...
* Source/OpenTK/Input/Keyboard.cs:
* Source/OpenTK/Input/InputDriver.cs:
* Source/OpenTK/Input/KeyboardState.cs:
* Source/OpenTK/Input/IKeyboardDriver.cs:
* Source/OpenTK/Platform/X11/X11Input.cs:
* Source/OpenTK/Platform/X11/Functions.cs:
* Source/OpenTK/Platform/X11/X11Factory.cs:
* Source/OpenTK/Platform/Windows/WMInput.cs:
* Source/OpenTK/Platform/X11/X11Keyboard.cs:
* Source/OpenTK/Platform/MacOS/CarbonInput.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/Windows/WinRawInput.cs:
* Source/OpenTK/Platform/Windows/WinRawKeyboard.cs: Added initial
OpenTK.Input.Keyboard implementation for X11.
2010-10-20 14:33:23 +00:00
the_fiddler
fda2092106
2008-02-01 23:29:27 +00:00
the_fiddler
effc907171
Moved keyboard and mouse code inside X11Input.cs
2008-02-01 23:28:23 +00:00
the_fiddler
c375a71603
Reverted to 0.3.12 way of handling input events.
2007-11-10 18:24:56 +00:00
the_fiddler
ff871cff50
Updated Keyboard and Mouse handling. Mouse now uses XQueryPointer. Keyboard relies on X11 events. Still missing mouse delta support.
2007-09-26 11:58:55 +00:00
the_fiddler
42c1affe34
Added X11 Mouse support. X11 Keyboard support is faster now.
...
Made GameWindow.Dispose() virtual.
2007-09-25 16:45:12 +00:00
the_fiddler
61102b359d
Work on X11 mouse driver.
2007-09-24 20:10:14 +00:00
the_fiddler
66b046a58c
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
0133eb1222
Corrected critical bug in X11/API.cs: VisualInfo.visualid was int where it should have been IntPtr, causing incorrect visuals to be created on 64bit platforms.
...
Removed the OnCreate/OnDestroy methods from INativeGLWindow.
Added convenience overloads to OpenTK.OpenGL.GL: Color3 and Color4 can now take a System.Drawing.Color directly.
2007-08-21 09:01:24 +00:00
the_fiddler
33527aa2c9
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
7a2da17f5c
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
f30e7f6df8
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
94e738bb9a
Enahnaced X11 keymap. Renamed some OpenTK keys.
2007-08-06 00:08:51 +00:00
the_fiddler
87e85a13c2
Resolved all crash bugs on X11Input.X11Keyboard
...
Working on X11 key mapping.
2007-08-05 23:38:59 +00:00
the_fiddler
1c8b39d20a
Added X11 structs and functions from Mono's x11 bindings. Updated several items to use these bindings. Debugging crash on XCheckIfEvent callback.
2007-08-05 23:09:05 +00:00
the_fiddler
0531e20287
Added preliminary key handling to X11Keyboard.
...
Removed stupid hack in WinRawKeyboard.
2007-08-05 18:10:08 +00:00
the_fiddler
ab1ec72170
Corrected what might be the cause of the NRE on X11GLNative.
2007-08-05 17:39:31 +00:00
the_fiddler
19e7aff6ee
Updated X11/X11Input.cs and X11/X11Keyboard.cs. The input window is now a child of the main window, and X11Keyboard now gets the keysym/keycode info.
2007-08-05 17:21:46 +00:00
the_fiddler
91d71b754e
Corrected NRE in X11Keyboard
2007-08-05 16:54:14 +00:00
the_fiddler
a987a5daf6
Overrode ToString in WindowInfo implementations.
...
Debugging NRE in X11Keyboard constructor.
2007-08-05 16:44:31 +00:00
the_fiddler
b526c077d5
Added one default keyboard to X11Keyboard keyboard list.
2007-08-05 16:36:33 +00:00
the_fiddler
8f5fc9cdd8
Corrected an invalid cast exception in X11Keyboard constructor.
2007-08-05 16:26:01 +00:00
the_fiddler
2b7f7bbc24
Corrected an error, where keysyms were not allocated, causing an NRE.
2007-08-05 16:19:25 +00:00
the_fiddler
40add1aaef
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
b630d84add
Added IWindowInfo.cs, X11/WindowInfo.cs and Windows/WindowInfo.cs, which hold information regarding a platform specific window object.
...
Updated everything to not use raw window handles, but rather WindowInfo objects.
Added code that (hopefully) creates an invisible input window for X11.
2007-08-05 13:42:31 +00:00
the_fiddler
47a3a3f62c
Started implementing X11Input.cs, X11Keyboard.cs and X11Mouse.cs drivers. Removed some warnings from X11Api.cs
2007-08-05 09:03:22 +00:00