Use KEY_NONE for buttons without key shortcuts

SDLK_LAST was used, but it is SDL 1.x specific
This commit is contained in:
Thomas Bernard
2018-05-28 16:56:46 +02:00
parent fb51c1bb1c
commit 5c761ace2c
8 changed files with 34 additions and 15 deletions

View File

@@ -19,6 +19,9 @@
You should have received a copy of the GNU General Public License
along with Grafx2; if not, see <http://www.gnu.org/licenses/>
*/
#if defined(USE_SDL) || defined(USE_SDL2)
#include <SDL.h>
#endif
#include "struct.h"
#include "global.h"
#include "hotkeys.h"