Commit Graph
94 Commits
Author SHA1 Message Date
timmy a594b3044c Add support for modifier keys (eg CTRL+D, CTRL+SHIFT+D) 2021-02-26 12:32:23 -08:00
timmy 7244a85ecd Fix dvorak keymap 2020-03-18 15:13:42 -07:00
timmy d1b2d5623a Add a clean exit for not providing a keymap to use 2020-03-05 23:56:51 -08:00
timmy c2f2d16097 Fix Nil map error 2020-03-05 14:46:17 -08:00
timmy 7441c3e637 Use a struct as a base instead of bare functions in a library
Added error reporting for Keyboard type
Added a file flag to read the input from
Fixed odd keymap path handling
2020-03-05 12:52:27 -08:00
timmy 03ec054d8b Fix an off by one error 2020-01-31 19:44:33 -08:00
timmy a0e2601d2f keymaps
Fix Dvorak ordering
Remake tengwar-f
2019-08-04 16:27:54 -07:00
timmy 45f9df45bb cleanup 2018-11-09 17:23:07 -08:00
timmy 349cd91f66 Fix typo and fix ReleaseDelay assignment 2018-11-07 18:08:02 -08:00
timmy 5fbef47dde remove unused const and ignore single newline directly after delay 2018-11-05 11:47:11 -08:00
timmy 0b2415ac40 cleaned up some code
handle delays better
add ability to have comments
add defaults to keymaps
2018-11-04 23:59:13 -08:00
timmy bf090a5b67 verbose + fix delay 2018-10-29 22:31:36 -07:00
timmy cd5638b988 sync 2018-10-29 22:07:51 -07:00
timmy 39176aac3c enforce delay and add delay to keymap 2018-10-29 21:57:36 -07:00
timmy 02aa4cd6c2 restructure 2018-10-20 16:50:08 -07:00
timmy 47d8950fd4 cleanup 2018-10-20 16:49:09 -07:00
timmy 9d04ddc8be Restructure to library
Implemented io.Writer interface. Might want to use a different interface
add a delay character
2018-06-22 20:28:21 -07:00
timmy 394b44e9df Make report carry as many keys as possible (over 50% speedup)
Need to look into not sending a blank report every time
2018-01-25 22:26:31 -08:00
timmy 2697df4352 Fix return keymap to 0
No longer attempts to change keymap when there is only one
Fixed typo in keymap
2018-01-24 14:43:33 -08:00
timmy f882f599ff Make argument required 2018-01-24 12:58:03 -08:00
timmy f264f9c017 Apparently I don't look at my source code before commiting 2018-01-24 12:32:42 -08:00
timmy 6b6b3db9cc Changed modifier from string to array of string updated code accordingly
Added tiro keymap
2018-01-24 10:21:44 -08:00
timmy b08c2fa792 Organized qwerty by row
Added tengwar layouts
Made the changeKeymap function actually work
Added keymapto0 so that the app consistently types correctly
2018-01-23 23:12:41 -08:00
timmy 8b4a2dc9f9 Do not panic if key is not in keymap 2017-11-24 21:48:21 -07:00
timmy ef46068793 Missed some printfs 2017-11-10 14:35:03 -07:00
timmy 7b401e28b8 Forgot to open the correct file 2017-11-10 14:29:40 -07:00
timmy ef37cc4317 Use XDG_CONFIG_HOME
Remove extra output
2017-11-10 14:15:24 -07:00
timmy be99ea3d81 Reduce output
Switch to using A map to get the flag value
2017-11-08 11:15:58 -07:00
timmy 4cbe2d8e67 Stop unnecessary panic 2017-11-07 14:57:24 -07:00
timmy 586e3d2010 Add tab,newline and space 2017-11-07 14:37:37 -07:00
timmy cd28bee157 Sort and fmt 2017-11-07 11:52:01 -07:00
timmy f9bc47fc6a Fix dvorak keymap 2017-11-07 01:01:45 -07:00
timmy 1af8cd51e3 Debug 2017-11-07 00:25:55 -07:00
timmy 5244918147 Debug 2017-11-07 00:23:41 -07:00
timmy f13ff01ffa Fix binary encoding 2017-11-06 23:56:40 -07:00
timmy 42c31d6d9f Fix binary encoding 2017-11-06 23:50:55 -07:00
timmy 2dd8ffaccb Fix logic 2017-11-06 23:37:38 -07:00
timmy ae2e3acb41 Capitalization 2017-11-06 23:35:49 -07:00
timmy ce7d8221cd Debug 2017-11-06 23:33:50 -07:00
timmy 24fb916525 Debug 2017-11-06 23:20:25 -07:00
timmy 7edd28714c Json tags 2017-11-06 23:12:45 -07:00
timmy 974c34559a Json tags 2017-11-06 23:09:12 -07:00
timmy ef710051b8 Debug 2017-11-06 23:04:00 -07:00
timmy 64c296d4cb Debug 2017-11-06 23:03:32 -07:00
timmy 27e87bac62 Debug 2017-11-06 23:03:20 -07:00
timmy dfef41b847 Debug 2017-11-06 23:01:06 -07:00
timmy 1b25ef40db Debug 2017-11-06 23:00:02 -07:00
timmy b651932922 Debug 2017-11-06 22:58:36 -07:00
timmy eb1d9f6bee Debug 2017-11-06 22:56:53 -07:00
timmy cac1287945 Debug 2017-11-06 22:55:57 -07:00
timmy a24946419d Change Json type 2017-11-06 22:52:49 -07:00
timmy b7e273e787 Debug 2017-11-06 22:24:46 -07:00
timmy 0d2c476db9 Debug 2017-11-06 22:22:44 -07:00
timmy a762e038f2 Initialize 2017-11-06 22:21:15 -07:00
timmy 138707e5b8 For some reason I decided to trim the extension 2017-11-06 22:18:08 -07:00
timmy b4d280e5ef Missing dot on extension 2017-11-06 22:16:59 -07:00
timmy 008b12f1b6 Debug 2017-11-06 22:16:15 -07:00
timmy 0d3ef81c5f Debug 2017-11-06 22:15:27 -07:00
timmy 57b15ad53e Debug 2017-11-06 22:14:09 -07:00
timmy 2b15a961cd Debug 2017-11-06 22:12:09 -07:00
timmy 68798e24bc Debug 2017-11-06 22:09:55 -07:00
timmy 72c447dfb8 Initial app done 2017-11-06 21:53:22 -07:00
timmy 498eb465a8 Added basic dvorak and json keymaps
Load keymap files from cfg dir
Start work on main loop
2017-11-06 15:00:44 -07:00
timmy 34290e969c tree 2017-10-31 14:06:45 -06:00
timmy 4dff17ca5c test program 2017-10-27 14:49:02 -06:00
timmy 8f3b27ef0a test program 2017-10-27 14:47:56 -06:00
timmy 2635812e0c test program 2017-10-27 14:41:09 -06:00
timmy 0977b58bfd test program 2017-10-27 14:37:19 -06:00
timmy 318aefb134 test program 2017-10-27 14:28:32 -06:00
timmy 7f0a5f8d6a test program 2017-10-27 14:20:45 -06:00
timmy 5dc7a214d1 Revert "test program"
This reverts commit 14dae55b4b.
2017-10-27 14:18:45 -06:00
timmy 14dae55b4b test program 2017-10-27 14:16:55 -06:00
timmy f81cd49648 test program 2017-10-27 14:14:03 -06:00
timmy d29dc973fa test program 2017-10-26 18:29:37 -06:00
timmy 36b9304d91 test program 2017-10-26 18:28:58 -06:00
timmy e23a648d3c test program 2017-10-26 18:25:41 -06:00
timmy 3cd83ccf99 test program 2017-10-26 18:25:09 -06:00
timmy e5469f5d94 test program 2017-10-26 18:16:18 -06:00
timmy f026a20689 test program 2017-10-26 18:15:24 -06:00
timmy 50861705fd test program 2017-10-26 18:14:25 -06:00
timmy dd2be75698 test program 2017-10-26 18:13:40 -06:00
timmy 8374a68729 test program 2017-10-26 18:11:41 -06:00
timmy 9838272b9c test program 2017-10-26 18:10:25 -06:00
timmy 287ed7f180 test program 2017-10-26 18:09:42 -06:00
timmy 25b570ad10 test program 2017-10-26 18:08:14 -06:00
timmy ac51c846ac test program 2017-10-26 18:07:28 -06:00
timmy 8c11f0c6d6 test program 2017-10-26 17:57:51 -06:00
timmy d9a94cc254 test program 2017-10-26 17:52:21 -06:00
timmy dec73290ea test program 2017-10-26 17:51:30 -06:00
timmy 56476d2fe6 test program 2017-10-26 17:50:36 -06:00
timmy 54f151074c test program 2017-10-26 17:24:18 -06:00
timmy 80baa3db76 test program 2017-10-26 17:08:30 -06:00
timmy 9098fd1d3d test program 2017-10-26 17:05:49 -06:00
timmy b2275ddbc0 init 2017-10-26 14:51:49 -06:00