Browse Source

Started work on programatically defined dictionaries

master
dirkson 2 years ago
parent
commit
ac55e14ad6
  1. 3
      build
  2. 21
      src/dicts.c
  3. 0
      src/jsmn.h
  4. 0
      src/kbd.c

3
build

@ -1,2 +1,3 @@
#!/bin/bash
cc kbd.c -o kbd
ccache cc src/kbd.c -Isrc -o kbd
ccache cc src/dicts.c

21
src/dicts.c

@ -0,0 +1,21 @@
char colemak[10][3] = {
{ 'q', 'a', 'z' }, //0 a
{ 'w', 'r', 'x' }, //1 b
{ 'f', 's', 'c' }, //2 c
{ 'p', 't', 'v' }, //3 d
{ 'g', 'd', 'b' }, //4 d
{ 'j', 'h', 'k' }, //5 e
{ 'l', 'n', 'm' }, //6 e
{ 'u', 'e', ',' }, //7 f
{ 'y', 'i', '.' }, //8 g
{ ';', 'o', '/' }, //9 h
};
int main(int argc, char* argv[])
{
return 0;
}

0
jsmn.h → src/jsmn.h

0
kbd.c → src/kbd.c

Loading…
Cancel
Save