浏览代码

hhkb: Fix name of consumer keys

tags/v2.9
tmk 8 年前
父节点
当前提交
1414ea3531
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      keyboard/hhkb/rn42/rn42.c

+ 3
- 3
keyboard/hhkb/rn42/rn42.c 查看文件

static uint16_t usage2bits(uint16_t usage) static uint16_t usage2bits(uint16_t usage)
{ {
switch (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 AL_KBD_LAYOUT: return 0x08; // Apple virtual keybaord toggle
case AUDIO_VOL_UP: return 0x10; case AUDIO_VOL_UP: return 0x10;
case AUDIO_VOL_DOWN: return 0x20; case AUDIO_VOL_DOWN: return 0x20;

正在加载...
取消
保存