From 1414ea35315a4bb867e031d0b085f1a966fbeabf Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 29 Mar 2016 07:00:56 +0900 Subject: [PATCH] hhkb: Fix name of consumer keys --- keyboard/hhkb/rn42/rn42.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboard/hhkb/rn42/rn42.c b/keyboard/hhkb/rn42/rn42.c index 6fabf99f..710169ef 100644 --- a/keyboard/hhkb/rn42/rn42.c +++ b/keyboard/hhkb/rn42/rn42.c @@ -184,9 +184,9 @@ static void send_system(uint16_t data) static uint16_t usage2bits(uint16_t usage) { switch (usage) { - case AC_HOME: return 0x01; - case AL_EMAIL: return 0x02; - case AC_SEARCH: return 0x04; + case APPCONTROL_HOME: return 0x01; + case APPLAUNCH_EMAIL: return 0x02; + case APPCONTROL_SEARCH: return 0x04; //case AL_KBD_LAYOUT: return 0x08; // Apple virtual keybaord toggle case AUDIO_VOL_UP: return 0x10; case AUDIO_VOL_DOWN: return 0x20; -- 2.46.2