the_fiddler
227c0dc12e
* X11Mouse.cs: Updated comments to clarify the capabilities of the driver.
2010-11-23 19:26:35 +00:00
the_fiddler
6d00a1cce3
* X11Mouse.cs: Added SetPosition() implementation.
...
Added detection of pointer warping and used it to fake relative
motion.
2010-11-23 19:21:17 +00:00
the_fiddler
76e1d4064b
* Input/Mouse.cs:
...
* Input/IMouseDriver2.cs:
* Platform/X11/X11Mouse.cs:
* Platform/X11/XI2Mouse.cs:
* Platform/X11/Functions.cs:
* Platform/Windows/WMInput.cs:
* Platform/X11/X11GLNative.cs:
* Platform/Windows/WinRawMouse.cs: Added ability to set the position
of the mouse cursor.
[X11] Avoid grabbing the pointer, as this causes unexpected
side-effects (XInput2 stops working, debugging becomes difficult).
We now use XWarpPointer and try to discard the spurious MouseMove
events it generates.
[X11] Make cursor visible when window loses focus, to make debugging
easier. Restore previous state when it regains focus.
2010-11-23 17:17:13 +00:00
the_fiddler
574909c426
* 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
93130dfbd8
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
eeefbd1a9c
* Input/Mouse.cs:
...
* Platform/X11/X11Mouse.cs:
* Platform/X11/XI2Mouse.cs: Added internal list of mouse devices in
preparation for multi-mouse support.
2010-10-21 14:53:10 +00:00
the_fiddler
80ee257777
* OpenTK.csproj:
...
* Input/MouseState.cs:
* Platform/X11/Structs.cs:
* Platform/X11/XI2Mouse.cs:
* Platform/X11/Functions.cs:
* Platform/X11/X11Factory.cs: Added XInput2 driver for mice.
Multi-mouse support pending.
* Platform/X11/X11Mouse.cs: Log the driver type for debugging
purposes.
2010-10-21 12:32:00 +00:00
the_fiddler
1a8f589f5c
* OpenTK.csproj:
...
* Input/MouseState.cs:
* Input/ButtonState.cs:
* Platform/X11/X11Mouse.cs:
* Platform/X11/X11Factory.cs: Added initial implementation of
OpenTK.Input.Mouse for X11.
2010-10-21 07:56:37 +00:00
the_fiddler
17bb298a33
2008-02-01 23:29:27 +00:00
the_fiddler
3718b6625d
Moved keyboard and mouse code inside X11Input.cs
2008-02-01 23:28:23 +00:00
the_fiddler
24a2140872
Reverted to 0.3.12 way of handling input events.
2007-11-10 18:24:56 +00:00
the_fiddler
94da72a196
Problem with mouse wheel not getting updated.
2007-09-26 16:12:31 +00:00
the_fiddler
78b8f274ee
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
ec34bed972
Added X11 Mouse support. X11 Keyboard support is faster now.
...
Made GameWindow.Dispose() virtual.
2007-09-25 16:45:12 +00:00
the_fiddler
9bd06cf09e
Added X11Mouse driver.
2007-09-24 20:56:50 +00:00
the_fiddler
130951343a
Work on X11 mouse driver.
2007-09-24 20:10:14 +00:00
the_fiddler
39fa68a29f
Work on MouseDriver. Windows raw driver works.
2007-09-21 20:34:07 +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
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