From 3e505f1b5ec26b6ce9bfd1c1624aa258aedeba51 Mon Sep 17 00:00:00 2001 From: darkf <> Date: Mon, 6 Apr 2020 00:53:53 -0700 Subject: [PATCH] Define DIK_PREVTRACK for MinGW --- src/common/input/DInputKeyboardCodes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/input/DInputKeyboardCodes.h b/src/common/input/DInputKeyboardCodes.h index 55978a12e..9caf7c2b2 100644 --- a/src/common/input/DInputKeyboardCodes.h +++ b/src/common/input/DInputKeyboardCodes.h @@ -27,6 +27,11 @@ #pragma once +#ifndef DIK_PREVTRACK +// Not defined by MinGW +#define DIK_PREVTRACK 0x90 +#endif + {DIK_A, "A"}, { DIK_B, "B" }, { DIK_C, "C" }, { DIK_D, "D" }, { DIK_E, "E" }, { DIK_F, "F" }, { DIK_G, "G" }, { DIK_H, "H" }, { DIK_I, "I" }, { DIK_J, "J" }, { DIK_K, "K" }, { DIK_L, "L" }, { DIK_M, "M" }, { DIK_N, "N" }, { DIK_O, "O" }, { DIK_P, "P" }, { DIK_Q, "Q" }, { DIK_R, "R" }, { DIK_S, "S" },