David Ludwig
896dd09b7e
WinRT: Fixed bug whereby key-detection code could call SDL_Log
2014-10-25 08:54:23 -04:00
David Ludwig
f10f7bb06e
WinRT: fallback to scancode key detection, if VirtualKey/VK detection fails
2014-10-25 08:50:41 -04:00
David Ludwig
21e4c95f1b
WinRT: more keyboard code cleanups
...
- use SDL_arraysize where appropriate
- made long lines of debug-logging code span multiple lines, for easier reading
2014-10-25 08:43:51 -04:00
David Ludwig
19d42e504c
WinRT: Fixed bug whereby a right-shift key might get reported as left-shift
2014-10-24 22:09:47 -04:00
David Ludwig
4cf559817c
WinRT: minor keyboard code cleanup
...
An internally-used hash table was replaced with a plain switch statement.
2014-10-24 21:25:21 -04:00
David Ludwig
96c1989ddb
WinRT: keyboard VirtualKey translation improvements from Sylvain Becker
...
Changes included:
- adding support for a few, additional, VirtualKey constants
- removing accesses to 'windows_scancode_table', as the table's contents
don't line up with WinRT virtual keys. Using Windows older VK_* constants
may, however, be a good alternative in a future update.
2014-04-17 12:43:51 -04:00
Sam Lantinga
67fb6a9aa7
Fixed the copyright date on files contributed by David Ludwig
2014-03-13 00:40:08 -07:00
David Ludwig
e6f24f0b7c
build fixes for most WinRT-related files
...
Still TODO: getting the D3D11 renderer back up and running in VC 2012.
--HG--
extra : rebase_source : 16aa0948fea2b8997033ca5a09ddb9692d07edc4
2014-03-10 21:21:35 -04:00
Sam Lantinga
211b54deef
Fixed line endings on WinRT source code
2014-03-09 11:06:11 -07:00
David Ludwig
690391390b
WinRT: misc code cleanups
2013-08-27 11:39:44 -04:00
David Ludwig
b06f02e4e5
WinRT: moved most platform-specific keyboard and mouse code to shared locations
2013-08-26 17:17:53 -04:00