fix/finish SDL2 port

* implement gamma
* menu keys fixed
* add support for horizontal mousewheel and some more mouse buttons
* fix keyrepeat
* fix window resizing
* fix compiler warnings
* use SDL to access clipboard
* remove X11-dependency
* some surplus SDL headers removed
* fix setdesktopres
* fix vsync
* improve fullscreentoggle on linux
* remove togglegrab
This commit is contained in:
ac-stef
2018-02-10 11:28:49 +01:00
committed by aurhat
parent f86579533a
commit e75dfbe4c7
33 changed files with 662 additions and 6654 deletions
+2
View File
@@ -18,6 +18,8 @@
#include "console.h"
enum
{
SDL_AC_BUTTON_WHEELLEFT = -7,
SDL_AC_BUTTON_WHEELRIGHT = -6,
SDL_AC_BUTTON_WHEELDOWN = -5,
SDL_AC_BUTTON_WHEELUP = -4,
SDL_AC_BUTTON_RIGHT = -3,