Browse Source

Bottom letter row

master
Dejvino 1 year ago
parent
commit
ec3075efc4
1 changed files with 39 additions and 1 deletions
  1. +39
    -1
      terminal_keyboard_emulator.ino

+ 39
- 1
terminal_keyboard_emulator.ino View File

@@ -138,7 +138,6 @@ void onSlaveClockInterrupt() {

void setupKeyMapping() {
m[0] = 0;
m[223] = ' '; // Spacebar
// top row special
m[63] = 0x12; // ?? Setup
m[62] = 'j'; // up
@@ -214,6 +213,45 @@ void setupKeyMapping() {
m[162] = ']';
m[162+32] = '}';
m[242] = 0x0D;
// bottom letter row
m[58] = 0x11; // No Scroll
m[133] = 'z';
m[133+32] = 'Z';
m[135] = 'x';
m[135+32] = 'X';
m[156] = 'c';
m[156+32] = 'C';
m[137] = 'v';
m[137+32] = 'V';
m[157] = 'b';
m[157+32] = 'B';
m[145] = 'n';
m[145+32] = 'N';
m[146] = 'm';
m[146+32] = 'M';
m[211] = ',';
m[211+32] = '<';
m[209] = '.';
m[209+32] = '>';
m[208] = '/';
m[208+32] = '?';
m[163] = '\\';
m[163+32] = '|';
m[78] = 'd'; // Blank cap
m[77] = 'D'; // Blank cap + shift
// spacebar
m[223] = ' '; // Spacebar
/*/ numpad
m[] = '';
m[+32] = '';
m[] = '';
m[+32] = '';
m[] = '';
m[+32] = '';
m[] = '';
m[+32] = '';
m[] = '';
m[+32] = '';
/*
m[] = '';
m[] = '';


Loading…
Cancel
Save