From ecc75b60f964d98e9d1fec37ac731bc48664b034 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 5 Jun 2011 10:45:50 -0400 Subject: [PATCH] Let's try to make the FN key recognized! I'm DeceasedCrabWolfman2000, huzzah! --- src/RageInputDevice.cpp | 2 ++ src/RageInputDevice.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/RageInputDevice.cpp b/src/RageInputDevice.cpp index 084a1ed9e5..544943bf84 100644 --- a/src/RageInputDevice.cpp +++ b/src/RageInputDevice.cpp @@ -63,6 +63,8 @@ static void InitNames() g_mapNamesToString[KEY_LSUPER] = "left super"; g_mapNamesToString[KEY_RSUPER] = "right super"; g_mapNamesToString[KEY_MENU] = "menu"; + + g_mapNamesToString[KEY_FN] = "function"; g_mapNamesToString[KEY_NUMLOCK] = "num lock"; g_mapNamesToString[KEY_SCRLLOCK] = "scroll lock"; diff --git a/src/RageInputDevice.h b/src/RageInputDevice.h index a81401e6a3..c8591b202f 100644 --- a/src/RageInputDevice.h +++ b/src/RageInputDevice.h @@ -221,6 +221,8 @@ enum DeviceButton KEY_LSUPER, KEY_RSUPER, KEY_MENU, + + KEY_FN, // Laptop function keys. KEY_NUMLOCK, KEY_SCRLLOCK,