| Age | Commit message (Collapse) | Author |
|
Initialize now just takes the handle directly. Reinitialize is added because it is much more straightforward in comparison to doing the Shutdown-Initialize manually.
|
|
Per the coding style and sanity.
|
|
|
|
|
|
All because someone didn't actually return the wxWindow handle for the edge case.
|
|
|
|
Include CommonTypes.h instead of Common.h.
|
|
|
|
|
|
|
|
to use it.
Fixes an off by 1 issue related to double->float->double conversion, and eliminates numerous warnings.
|
|
This is to remain compatible with XBCD devices.
|
|
|
|
from dolphin code.
Wrap dinput.h in a header defining DIRECTINPUT_VERSION instead of repeating it multiple places.
|
|
Rewrite GLInterface
|
|
strictStrings is not supported by debug libraries, and indeed breaks the build.
Drop wbemidl.h (incompatible with strictStrings) dependency by using SDL-style search for XInput GUIDs.
|
|
Everything is now safely tucked inside each individual GLInterface.
|
|
Yes, this is a fancy new feature, but our Wayland support was
particularly bitrotten, and ideally this would be handled by a platform
layer like SDL. If not, we can always add this back in when GLInterface
has caught up. We might be able to even support wxWidgets and GL
together with subsurfaces!
|
|
It was broken by e15ec56bf0237 because it wasn't deemed important. However chances are people will eventually start using Dolphin on that configuration, so we shouldn't frivolously drop compatibility without good reason.
|
|
|
|
Get rid of a few C-style struct declarations
|
|
Also simplified the casting within a std::max call
|
|
|
|
We can't use RendererHasFocus for this purpose because of some issues
with exclusive fullscreen, and the new RendererHasFocus implementation
didn't work for non-Render to Main Window cases, since the renderer
window wasn't managed by wx.
|
|
|
|
|
|
[Android] Fixes a bunch of input bugs.
|
|
|
|
|
|
Looking at the old code for the ButtonManager was a brainfsck. This fixes a ton of bugs I kept uncovering as I was moving along.
Fixes the gamepad configuration file being incorrect.
No longer treats touchscreen in a special way. Ends up as a regular device with a "Touchscreen" device name.
Was incorrectly converting a index from integer to ButtonType. Wouldn't work due to the addition of some unused(in JNI) enumerators in ButtonType.
Fixes an issue where a map had a key as an axis which was causing its binding to be overwritten for every axis that was used twice (eg main stick left and right);
Fixes Triggers not working at all.
Fixes DPad not working at all.
Fixes C-Stick only half working.
Removes touch screen specific nativelibrary types onTouchAxisEvent and onTouchEvent.
Adds a configuration version configuration option. Allows easy configuration overwriting if the options need to be changed during updating.
Supersedes github PR #291.
|
|
|
|
If Buttons, Axes, Hats, or Balls > 255 then reject it.
|
|
|
|
Also changes some function params, but this is ok.
Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
|
|
Also moved && and || to ends of lines instead of start.
Fixed misc vertical alignments and some { needed newlining.
|
|
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
|
|
|
|
- remove unused variables
- reduce the scope where it makes sense
- correct limits (did you know that strcat()'s last parameter does not
include the \0 that is always added?)
- set some free()'d pointers to NULL
|
|
|
|
|
|
|
|
|
|
ie. uses spaces for alignment.
|
|
and some things suggested by cppcheck and compiler warnings.
|
|
|
|
Also cleaned up the indentations of some variable declarations.
|
|
Previous code relied on a destroyed variable to still be valid.
|
|
Instead use a for-each loop, compare GUIDs and save the name pointers.
|
|
|
|
|