Browse Source

Started work on programatically defined dictionaries

master
dirkson 6 months ago
parent
commit
ac55e14ad6
4 changed files with 23 additions and 1 deletions
  1. +2
    -1
      build
  2. +21
    -0
      src/dicts.c
  3. +0
    -0
      src/jsmn.h
  4. +0
    -0
      src/kbd.c

+ 2
- 1
build View File

@@ -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
- 0
src/dicts.c View File

@@ -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;
}


jsmn.h → src/jsmn.h View File


kbd.c → src/kbd.c View File


Loading…
Cancel
Save