git://git.gir.st
/
tmk_keyboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cee11
)
hhkb: Fix name of consumer keys
author
tmk
<hasu@tmk-kbd.com>
Mon, 28 Mar 2016 22:00:56 +0000
(07:00 +0900)
committer
tmk
<hasu@tmk-kbd.com>
Mon, 28 Mar 2016 22:00:56 +0000
(07:00 +0900)
keyboard/hhkb/rn42/rn42.c
patch
|
blob
|
blame
|
history
diff --git
a/keyboard/hhkb/rn42/rn42.c
b/keyboard/hhkb/rn42/rn42.c
index 6fabf99ff3266ba03093967b549a52fe56f90ae8..710169ef3826d16e35ea1bd9d15b8a9cb66a6c14 100644
(file)
--- 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 A
C_HOME:
return 0x01;
- case A
L_EMAIL:
return 0x02;
- case A
C_SEARCH:
return 0x04;
+ case A
PPCONTROL_HOME:
return 0x01;
+ case A
PPLAUNCH_EMAIL:
return 0x02;
+ case A
PPCONTROL_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;