This website works better with JavaScript.
Home
Help
Sign In
dirkson
/
kbd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Started work on programatically defined dictionaries
master
dirkson
10 months ago
parent
f7a8119a24
commit
ac55e14ad6
4 changed files
with
23 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
build
+21
-0
src/dicts.c
+0
-0
src/jsmn.h
+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
Write
Preview
Loading…
Cancel
Save