Move needs_special_handling definition into keys.c

This commit is contained in:
Kovid Goyal
2018-02-22 14:37:51 +05:30
parent 1e4963e727
commit 1fc605cbc0
3 changed files with 2 additions and 2 deletions

View File

@@ -11,6 +11,8 @@
#include "glfw-wrapper.h"
#include "control-codes.h"
static bool needs_special_handling[128 * 16] = {0};
const char*
key_to_bytes(int glfw_key, bool smkx, bool extended, int mods, int action) {
if ((action & 3) == 3) return NULL;