case 0xF0:
state = F0;
break;
- case 0x83:
+ case 0x83: // PrintScreen
matrix_make(0x02);
break;
- case 0x84:
+ case 0x84: // Keypad *
matrix_make(0x7F);
break;
+ case 0x85: // Muhenkan
+ matrix_make(0x0B);
+ break;
+ case 0x86: // Henkan
+ matrix_make(0x06);
+ break;
+ case 0x87: // Hiragana
+ matrix_make(0x00);
+ break;
+ case 0x8B: // Left GUI
+ matrix_make(0x01);
+ break;
+ case 0x8C: // Right GUI
+ matrix_make(0x09);
+ break;
+ case 0x8D: // Application
+ matrix_make(0x0A);
+ break;
default: // normal key make
if (code < 0x80) {
matrix_make(code);
} else {
xprintf("!CS3_READY!\n");
- return -1;
+ //return -1;
}
}
break;
state = READY;
return -1;
break;
- case 0x83:
+ case 0x83: // PrintScreen
matrix_break(0x02);
state = READY;
break;
- case 0x84:
+ case 0x84: // Keypad *
matrix_break(0x7F);
state = READY;
break;
+ case 0x85: // Muhenkan
+ matrix_break(0x0B);
+ state = READY;
+ break;
+ case 0x86: // Henkan
+ matrix_break(0x06);
+ state = READY;
+ break;
+ case 0x87: // Hiragana
+ matrix_break(0x00);
+ state = READY;
+ break;
+ case 0x8B: // Left GUI
+ matrix_break(0x01);
+ state = READY;
+ break;
+ case 0x8C: // Right GUI
+ matrix_break(0x09);
+ state = READY;
+ break;
+ case 0x8D: // Application
+ matrix_break(0x0A);
+ state = READY;
+ break;
default:
state = READY;
if (code < 0x80) {
matrix_break(code);
} else {
xprintf("!CS3_F0!\n");
- return -1;
+ //return -1;
}
}
break;
* `-------' `-----' `---------------------------------------' `-----' `---' `---------------'
* *: remapped 83->02, 84->7F
* 51, 5C, 5D, 68, 78: Hidden keys in IBM 122-key terminal keyboard [7]
- * unused: UNIMAP_KANA
*/
const uint8_t PROGMEM unimap_cs3[MATRIX_ROWS][MATRIX_COLS] = {
- { UNIMAP_NO, UNIMAP_LGUI, UNIMAP_PSCR, UNIMAP_VOLD, UNIMAP_VOLU, UNIMAP_MUTE, UNIMAP_HENK, UNIMAP_F1 }, /* 00-07 */
+ { UNIMAP_KANA, UNIMAP_LGUI, UNIMAP_PSCR, UNIMAP_VOLD, UNIMAP_VOLU, UNIMAP_MUTE, UNIMAP_HENK, UNIMAP_F1 }, /* 00-07 */
{ UNIMAP_F13, UNIMAP_RGUI, UNIMAP_APP, UNIMAP_MHEN, UNIMAP_PAUS, UNIMAP_TAB, UNIMAP_GRV, UNIMAP_F2 }, /* 08-0F */
{ UNIMAP_F14, UNIMAP_LCTL, UNIMAP_LSHIFT,UNIMAP_NUBS, UNIMAP_CAPS, UNIMAP_Q, UNIMAP_1, UNIMAP_F3 }, /* 10-17 */
{ UNIMAP_F15, UNIMAP_LALT, UNIMAP_Z, UNIMAP_S, UNIMAP_A, UNIMAP_W, UNIMAP_2, UNIMAP_F4 }, /* 18-1F */