Commit graph

2453 commits

Author SHA1 Message Date
the_fiddler 223c911bf9 * Platform/MacOS/HIDInput.cs, Platform/MacOS/MacOSFactory.cs:
Added support for raw keyboard input.
2010-11-30 23:23:42 +00:00
the_fiddler e75e4a64b8 * Platform/MacOS/CarbonGLNative.cs:
Fixed handling of key repeat.
Fixed crash when unknown key is pressed.
2010-11-30 23:22:56 +00:00
the_fiddler 24af8471c9 * MacOS/CarbonGLNative.cs:
Removed unnecessary debug information.
2010-11-26 13:32:52 +00:00
the_fiddler 6078b4530a * EventInfo.cs, AglContext.cs, MacOSKeyMap.cs, Application.cs,
CarbonInput.cs, CarbonGLNative.cs, MacOSException.cs,
CarbonBindings/Agl.cs, CarbonBindings/CarbonAPI.cs,
CarbonBindings/MacOSKeys.cs, CarbonBindings/SpeechChannel.cs,
CarbonBindings/CoreFoundation.cs,
CarbonBindings/QuartzDisplayServicesAPI.cs:
Normalized licensing information.
2010-11-26 11:41:45 +00:00
the_fiddler db6cc338f5 * Platform/MacOS/CarbonGLNative.cs:
Implemented CursorVisible property. Aligned mouse behavior to win32 &
x11. General code cleanup.
2010-11-26 11:01:51 +00:00
the_fiddler 37a744acb3 * Platform/MacOS/CarbonBindings/QuartzDisplayServicesAPI.cs:
Added support for mouse control.
2010-11-26 11:00:57 +00:00
the_fiddler 96791683d0 * Platform/MacOS/CarbonBindings/CarbonAPI.cs:
Added support for mouse delta events.
2010-11-26 11:00:27 +00:00
the_fiddler 7f0212a5fe Disabled event suppression after cursor movements. 2010-11-26 10:59:08 +00:00
the_fiddler 1a3df17dff Implemented SetPosition in terms of CGWarpMouseCursorPosition.
Added constructors to HIPoint.
2010-11-25 00:30:16 +00:00
the_fiddler 5caf6204de Implemented new multi-mouse API on Mac
OS X.
2010-11-24 23:49:40 +00:00
the_fiddler 9c8247c13a * Vector4.cs: Fixed doc comment to refer to the single-precision
version of the structure, rather than the double-precision one.
2010-11-24 21:15:38 +00:00
the_fiddler 4bc0db1d10 Updated documentation on Vector4(Vector3) constructor to state that the w component is initialized to 0. 2010-11-24 20:50:47 +00:00
the_fiddler 28a6600619 * ExampleBrowser.cs: Correctly use the assembly location to locate
the Source directory.
2010-11-24 18:11:01 +00:00
the_fiddler 3ec54fce34 * ExampleBrowser.cs: Do not crash if Source directory is not found. 2010-11-24 18:08:20 +00:00
the_fiddler 898315a58f Use main run loop for input callbacks. This way we don't have to run the loop ourselves.
Unregister callbacks for removed devices.
2010-11-24 13:13:14 +00:00
the_fiddler 6a4b41d975 Device discovery now works correctly. Added support for input value callbacks. 2010-11-24 12:50:08 +00:00
the_fiddler 7a83b5decb * MacOSGraphicsMode.cs:
* CarbonBindings/Agl.cs: Added AGL-based GraphicsMode detection on Mac
  OS X. Fixes issue [#1679]: "GraphicsMode returns hardcoded mode on
  Mac OS X".
2010-11-24 00:55:19 +00:00
the_fiddler 4f041bca92 [Win32] Implemented Mouse.SetPosition via SetCursorPos. This was refreshingly simple, the function works exactly as expected! (unlike XWarpPointer on X11) 2010-11-23 22:10:49 +00:00
the_fiddler d408fd54ce Avoid loading Wgl entry points automatically. This is now explicitly done through WinGLContext. 2010-11-23 22:08:53 +00:00
the_fiddler 227c0dc12e * X11Mouse.cs: Updated comments to clarify the capabilities of the driver. 2010-11-23 19:26:35 +00:00
the_fiddler ff8e42c77a * XI2Mouse.cs: Removed unused code. 2010-11-23 19:21:28 +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 82e5401779 * OpenTK.csproj:
* Platform/MacOS/HIDInput.cs:
* Platform/MacOS/MacOSFactory.cs:
* Platform/MacOS/CarbonBindings/CoreFoundation.cs: Initial work on HID
  input manager.
2010-11-22 15:57:26 +00:00
the_fiddler 569c4c86c7 Refactored and simplified DisplayDevice detection (devices are now stored in the platform-specific drivers instead of the frontend).
Made XRR resolution changes more robust.
Resolution changes now refresh the DisplayDevices on Windows.
2010-11-21 20:16:18 +00:00
the_fiddler 6cfb81246e Updated OpenGL bindings with strongly-typed support for OpenGL 3.3, 4.0 and 4.1 specs. 2010-11-21 16:22:42 +00:00
the_fiddler 5a408188e4 Added tokens for issue [#2058]: "[GL 4.1] Viewport Array". 2010-11-21 16:11:41 +00:00
the_fiddler bf6185907f Added tokens for issue [#588]: "ARB_geometry_shader4". 2010-11-21 16:04:11 +00:00
the_fiddler a55102ef2f Allow exact function name overrides for extension functions. 2010-11-21 16:03:37 +00:00
the_fiddler ef97233198 Added tokens for [#2056]: "[GL 4.1] Get Program Binary". 2010-11-21 15:45:33 +00:00
the_fiddler 6052f32c21 Added tokens for [#2055]: "[GL 4.1] ES2 Compatibility". 2010-11-21 15:43:15 +00:00
the_fiddler 87feb96a92 Added tokens for [#2057]: "[GL 4.1] Separate Shader Objects". 2010-11-21 15:25:12 +00:00
the_fiddler cbc37f14f1 Added tokens for [#2054]: "[GL 4.1] Vertex Attrib 64bit". 2010-11-21 15:10:45 +00:00
the_fiddler 965191a043 List required extension for core functions. 2010-11-21 15:10:12 +00:00
the_fiddler a15ba71d77 Added and updated documentation for OpenGL 4.x. 2010-11-21 14:34:29 +00:00
the_fiddler dddae1ac27 Print diagnostic message when docfile translation fails. 2010-11-21 14:24:34 +00:00
the_fiddler 598ec9b570 Recognize and strip mml from the new man4 documentation. 2010-11-21 14:24:05 +00:00
the_fiddler fa76c13e17 Added tokens for [#1799]: "[GL 4.0] Transform Feedback 3". 2010-11-21 11:45:13 +00:00
the_fiddler d40a0befc7 Added tokens for [#1798]: "[GL 4.0] Transform Feedback 2". 2010-11-21 11:41:38 +00:00
the_fiddler c132ff129d Added tokens for [#1797]: "[GL 4.0] Texture Gather". 2010-11-21 11:34:34 +00:00
the_fiddler e039e672b4 Added tokens for [#1796]: "[GL 4.0] Texture Cube Map Array". 2010-11-21 11:30:55 +00:00
the_fiddler d3e2d3fa4a Added tokens for [#1795]: "[GL 4.0] Tessellation Shader". 2010-11-21 11:26:50 +00:00
the_fiddler 5a3cbeb3ef Allow function overrides on exact names, too (i.e. PatchParameteri vs PatchParameter). 2010-11-21 11:26:12 +00:00
the_fiddler e986af3b6e Fixed issue [#1895]: "Vector3d.Equals(object obj) defined in terms of Vector3, not Vector3d". 2010-11-21 10:54:11 +00:00
the_fiddler 4d2801d329 Added tokens for [#1794]: "[GL 4.0] Shader Subroutine".
Fixed <use> overrides for SAMPLE_SHADING and MIN_SAMPLE_SHADING_VALUE.
2010-11-21 10:47:22 +00:00
the_fiddler 4d8d039493 Added tokens for [#1793]: "[GL 4.0] Sample Shading". 2010-11-21 10:33:45 +00:00
the_fiddler d05b546a4e Added missing tokens to ActiveAttribType (integer datatypes introduced in GL2.0 and GL3.0). 2010-11-21 10:30:59 +00:00
the_fiddler 79688eec7e Added tokens for [#1792]: "[GL 4.0] GPU Shader fp64". 2010-11-21 10:26:40 +00:00
the_fiddler 0cfc02755f Added tokens for [#1791]: "[GL 4.0] GPU Shader 5". 2010-11-21 10:22:56 +00:00
the_fiddler 9326a9f7cb Added tokens for [#1789]: "[GL 4.0] Draw Indirect". 2010-11-21 10:18:37 +00:00