Commit graph

5643 commits

Author SHA1 Message Date
Stefanos A f459647613 Removed all instances of refresh_text 2013-12-24 17:18:03 +01:00
Stefanos A ddc52ce135 Implemented GamePad Capabilities and Type 2013-12-24 17:18:03 +01:00
Stefanos A ea3c9ffe85 Refresh text continuously 2013-12-24 17:18:03 +01:00
Stefanos A dd648a8362 Initial implementation of GamePadTriggers 2013-12-24 17:18:03 +01:00
thefiddler 8f7eebb58d Enabled HIDInput IGamePadDriver implementation 2013-12-24 17:18:02 +01:00
Stefanos A 5d88a8daf4 Implemented GamePad API (WIP) 2013-12-24 17:18:02 +01:00
Stefanos A 0875cbd928 Removed unnecessary IsButtonValid method 2013-12-24 17:18:02 +01:00
Stefanos A 1adc3f7733 Display start button in ToString() 2013-12-24 17:18:02 +01:00
Stefanos A 0c9a67da41 Fixed rendering of joysticks and gamepads
Joysticks and gamepad states would overlap, causing some lines to be
unreadable. This is now fixed.
2013-12-24 17:18:02 +01:00
Stefanos A 44351a03c4 More robust handling of device add/remove events 2013-12-24 17:18:02 +01:00
Stefanos A 31ce400a7e Fixed expansion of joysticks collection 2013-12-24 17:18:02 +01:00
Stefanos A 2f1a81da2c Log errors in subsystem initialization 2013-12-24 17:18:02 +01:00
Stefanos A 1d61bd9dd2 Reuse Sdl2Factory.InputDriver in Sdl2NativeWindow 2013-12-24 17:18:01 +01:00
Stefanos A a72d70c3d0 Delay joystick initialization until necessary 2013-12-24 17:18:01 +01:00
Stefanos A 3660509dee Added SDL_InitSubSystem method 2013-12-24 17:18:01 +01:00
Stefanos A 4a13415fc6 Fixed x/y axis mixup. 2013-12-24 17:18:01 +01:00
Stefanos A 1ba5fd4380 Cleaned up using directives 2013-12-24 17:18:01 +01:00
Stefanos A 76a35c0b91 Added missing newline 2013-12-24 17:18:01 +01:00
Stefanos A 91d248ad29 Implemented GamePadThumbSticks 2013-12-24 17:18:01 +01:00
Stefanos A 18f99c2f63 Added state information for GamePads 2013-12-24 17:18:00 +01:00
Stefanos A 0c10f29bd8 More compact string representation 2013-12-24 17:18:00 +01:00
Stefanos A 1acf8a807b Implemented IEquatable<> interface 2013-12-24 17:18:00 +01:00
thefiddler 2bf024a912 Implemented new GamePad interface (WIP) 2013-12-24 17:18:00 +01:00
thefiddler ecd04a3cad Implemented GamePadButtons 2013-12-24 17:18:00 +01:00
thefiddler 484af18673 Updated internal IGamePadDriver interface 2013-12-24 17:18:00 +01:00
thefiddler ee65f81f56 Implemented GameController API bindings 2013-12-24 17:18:00 +01:00
thefiddler d9985fc571 Use SDL2 event API for joystick devices 2013-12-24 17:18:00 +01:00
thefiddler 022e5c845c Implemented SDL2 Joystick and GameController events 2013-12-24 17:17:59 +01:00
thefiddler bd1fb18836 Use IGamePadDriver through MappedGamePadDriver 2013-12-24 17:16:16 +01:00
Stefanos A. 0a71bbe065 Improved ToString implementation 2013-12-24 17:06:39 +01:00
Stefanos A. 3c6298a1e6 Fixed WinMM offsets for IJoystickDevice2 2013-12-24 16:42:48 +01:00
Stefanos A. 3c1404f0ac Improved WinMMJoystickDriver hotplugging behavior 2013-12-24 15:51:25 +01:00
Stefanos A. 97b8710339 Added state output for OpenTK.Input.Joystick 2013-12-24 15:01:33 +01:00
Stefanos A. 7bab950cc0 Implemented structural equality 2013-12-24 15:01:10 +01:00
Stefanos A. 42e6a96a43 Connected XInput driver 2013-12-24 14:24:42 +01:00
Stefanos A. 062962aeb2 WinMMJoystick implements IJoystickDriver2
WinMM is optimized for general joystick use, not for the canonical
GamePad layout. Instead of exposing IGamePadDriver directly, it should
expose IJoystickDriver2 and use a mapping driver to get GamePad support.
2013-12-24 14:24:29 +01:00
Stefanos A. b9242c006b Added MappedGamePadDriver skeleton implementation 2013-12-24 14:22:03 +01:00
Stefanos A. 5c73a3ea74 Implements JoystickState and Capabilities setters 2013-12-24 14:21:37 +01:00
Stefanos A. 58b67d31e3 No reason to comment out #region License 2013-12-24 12:52:57 +01:00
Stefanos A. dfd6554061 Added internal GamePadMapping class 2013-12-24 12:48:15 +01:00
Stefanos A. 25a0e552f8 Implemented thumbsticks and trigger caps 2013-12-24 12:47:09 +01:00
Stefanos A. 5215891a4f Added IJoystickDevice2 interface 2013-12-24 03:16:32 +01:00
Stefanos A. 78078d0742 Implemented initial XInput IGamePadDriver 2013-12-24 01:37:34 +01:00
Stefanos A. 61e2dc3d86 Added missing left/right triggers 2013-12-24 01:36:44 +01:00
Stefanos A. de362177c5 Removed all instances of refresh_text 2013-12-24 00:15:43 +01:00
Stefanos A. 1d84c1d814 Implemented GamePad Capabilities and Type 2013-12-24 00:15:28 +01:00
Stefanos A. 95c3d00aa2 Refresh text continuously 2013-12-23 22:00:10 +01:00
thefiddler d7fefe495e Removed unused constructors 2013-12-23 21:43:17 +01:00
thefiddler 95270c877d Added Compositing and FrameworkScaled flags 2013-12-23 21:42:16 +01:00
thefiddler 1189b33ed5 Fixed OpenTK/Carbon key repeat behavior to match the other backends 2013-12-23 20:40:27 +01:00