Fix dumb typo.
Improve performance of syscall resolving.

This was actually kinda slow (noticeably) in God Eater Burst.
Improve performance of ScanForFunctions().

Mostly affects games with a lot of modules and exports.
Fix texture misalignment & distortion in multiple games
Add rapid fire ctrl interface, minor cleanup.
Properly send the right analog to the game.

I don't think this was actually working before.
Add keymap support for alt/shift/ctrl on Windows.

WM_KEYDOWN only gets VK_SHIFT, not L or R.  We could detect which on
press, but not on release.  It's simpler to just resend both.
Add a rapid fire virtual key, like before.
Make it easier to test the pause button.
Make pause/speed virtual buttons work again.

Fixes #2669.
Remove some unused keyboard code, avoid confusion.
Remove some no longer used xinput stuff.
Merge pull request #2676 from thedax/hdRemasterSupport

HDRemaster support: Simplify/tidy the code
Merge pull request #2665 from unknownbrackets/perf

Improve performance of export resolving / module loading
Merge pull request #2672 from unknownbrackets/ctrl-rapid

Add back rapid fire, make it possible to use on other platforms
Qt and Blackberry buildfix.
Fix a possible infinite loop in the symbol map.
Merge pull request #2677 from thedax/hdRemasterSupport

HDRemaster support: Fix memory sizes for Eiyuu Sensetsu games
Win32: Switch to RawInput for keyboard processing. Lets us distinguish LSHIFT/RSHIFT and LCTRL/RCTRL.
Use EXT_swap_control_tear when available to ensure that VSync never slows things down (tears instead if it can't keep up, better than stuttering)