Skip to content

Commit

Permalink
Add code and some example basechars, keymaps and routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteube committed Aug 15, 2016
1 parent b1e25f5 commit c90bded
Show file tree
Hide file tree
Showing 9 changed files with 1,759 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
##
## Makefile for kwp
##

CFLAGS = -W -Wall -std=c99 -O2 -s
#CFLAGS = -W -Wall -std=c99 -g

CC_NATIVE = gcc

CC_WINDOWS32 = /usr/bin/i686-w64-mingw32-gcc
CC_WINDOWS64 = /usr/bin/x86_64-w64-mingw32-gcc

CFLAGS_NATIVE = $(CFLAGS)

CFLAGS_WINDOWS32 = $(CFLAGS) -m32 -DWINDOWS
CFLAGS_WINDOWS64 = $(CFLAGS) -m64 -DWINDOWS

all: kwp

windows: kwp32.exe kwp64.exe

clean:
rm -f kwp kwp32.exe kwp64.exe

kwp: src/kwp.c
$(CC_NATIVE) $(CFLAGS_NATIVE) -o $@ $^

kwp32.exe: src/kwp.c
$(CC_WINDOWS32) $(CFLAGS_WINDOWS32) -o $@ $^

kwp64.exe: src/kwp.c
$(CC_WINDOWS64) $(CFLAGS_WINDOWS64) -o $@ $^
1 change: 1 addition & 0 deletions basechars/full.base
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
1 change: 1 addition & 0 deletions basechars/tiny.base
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1q!Q
12 changes: 12 additions & 0 deletions keymaps/de.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
^1234567890
qwertzuiop +
asdfghjkl #
<yxcvbnm,.-
!" $%&/()=?`
QWERTZUIOP *
ASDFGHJKL '
>YXCVBNM;:_
{[]}\
@ ~

|
12 changes: 12 additions & 0 deletions keymaps/en.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
`1234567890-=
qwertyuiop[]\
asdfghjkl;'
zxcvbnm,./
~!@#$%^&*()_+
QWERTYUIOP{}|
ASDFGHJKL:"
ZXCVBNM<>?




165 changes: 165 additions & 0 deletions routes/2-to-10-max-3-direction-changes.route
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
11
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
31
32
33
34
35
36
37
41
42
43
44
45
46
51
52
53
54
55
61
62
63
64
71
72
73
81
82
91
111
112
113
114
115
116
117
118
121
122
123
124
125
126
127
131
132
133
134
135
136
141
142
143
144
145
151
152
153
154
161
162
163
171
172
181
211
212
213
214
215
216
217
221
222
223
224
225
226
231
232
233
234
235
241
242
243
244
251
252
253
261
262
271
311
312
313
314
315
316
321
322
323
324
325
331
332
333
334
341
342
343
351
352
361
411
412
413
414
415
421
422
423
424
431
432
433
441
442
451
511
512
513
514
521
522
523
531
532
541
611
612
613
621
622
631
711
712
721
811

0 comments on commit c90bded

Please sign in to comment.