Commit Graph

98 Commits

Author SHA1 Message Date
Timmy Welch
f6967e5f83 Improve keymap changing 2024-04-17 17:14:09 -07:00
lordwelch
5a4c207159 Fix flags 2022-05-13 09:49:13 -07:00
lordwelch
0206ba448e Enable go module
Set go version to 1.18
Add arguments to set press delay and release delay
Add better handling for unknown characters
2022-05-13 09:44:04 -07:00
lordwelch
0bbf455bc7 Remove logging 2021-02-26 13:11:19 -08:00
lordwelch
a594b3044c Add support for modifier keys (eg CTRL+D, CTRL+SHIFT+D) 2021-02-26 12:32:23 -08:00
lordwelch
7244a85ecd Fix dvorak keymap 2020-03-18 15:13:42 -07:00
lordwelch
d1b2d5623a Add a clean exit for not providing a keymap to use 2020-03-05 23:56:51 -08:00
lordwelch
c2f2d16097 Fix Nil map error 2020-03-05 14:46:17 -08:00
lordwelch
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
lordwelch
03ec054d8b Fix an off by one error 2020-01-31 19:44:33 -08:00
lordwelch
a0e2601d2f keymaps
Fix Dvorak ordering
Remake tengwar-f
2019-08-04 16:27:54 -07:00
lordwelch
45f9df45bb cleanup 2018-11-09 17:23:07 -08:00
lordwelch
349cd91f66 Fix typo and fix ReleaseDelay assignment 2018-11-07 18:08:02 -08:00
lordwelch
5fbef47dde remove unused const and ignore single newline directly after delay 2018-11-05 11:47:11 -08:00
lordwelch
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
lordwelch
bf090a5b67 verbose + fix delay 2018-10-29 22:31:36 -07:00
lordwelch
cd5638b988 sync 2018-10-29 22:07:51 -07:00
lordwelch
39176aac3c enforce delay and add delay to keymap 2018-10-29 21:57:36 -07:00
lordwelch
02aa4cd6c2 restructure 2018-10-20 16:50:08 -07:00
lordwelch
47d8950fd4 cleanup 2018-10-20 16:49:09 -07:00
lordwelch
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
lordwelch
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
lordwelch
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
lordwelch
f882f599ff Make argument required 2018-01-24 12:58:03 -08:00
lordwelch
f264f9c017 Apparently I don't look at my source code before commiting 2018-01-24 12:32:42 -08:00
lordwelch
6b6b3db9cc Changed modifier from string to array of string updated code accordingly
Added tiro keymap
2018-01-24 10:21:44 -08:00
lordwelch
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
lordwelch
8b4a2dc9f9 Do not panic if key is not in keymap 2017-11-24 21:48:21 -07:00
lordwelch
ef46068793 Missed some printfs 2017-11-10 14:35:03 -07:00
lordwelch
7b401e28b8 Forgot to open the correct file 2017-11-10 14:29:40 -07:00
lordwelch
ef37cc4317 Use XDG_CONFIG_HOME
Remove extra output
2017-11-10 14:15:24 -07:00
lordwelch
be99ea3d81 Reduce output
Switch to using A map to get the flag value
2017-11-08 11:15:58 -07:00
lordwelch
4cbe2d8e67 Stop unnecessary panic 2017-11-07 14:57:24 -07:00
lordwelch
586e3d2010 Add tab,newline and space 2017-11-07 14:37:37 -07:00
lordwelch
cd28bee157 Sort and fmt 2017-11-07 11:52:01 -07:00
lordwelch
f9bc47fc6a Fix dvorak keymap 2017-11-07 01:01:45 -07:00
lordwelch
1af8cd51e3 Debug 2017-11-07 00:25:55 -07:00
lordwelch
5244918147 Debug 2017-11-07 00:23:41 -07:00
lordwelch
f13ff01ffa Fix binary encoding 2017-11-06 23:56:40 -07:00
lordwelch
42c31d6d9f Fix binary encoding 2017-11-06 23:50:55 -07:00
lordwelch
2dd8ffaccb Fix logic 2017-11-06 23:37:38 -07:00
lordwelch
ae2e3acb41 Capitalization 2017-11-06 23:35:49 -07:00
lordwelch
ce7d8221cd Debug 2017-11-06 23:33:50 -07:00
lordwelch
24fb916525 Debug 2017-11-06 23:20:25 -07:00
lordwelch
7edd28714c Json tags 2017-11-06 23:12:45 -07:00
lordwelch
974c34559a Json tags 2017-11-06 23:09:12 -07:00
lordwelch
ef710051b8 Debug 2017-11-06 23:04:00 -07:00
lordwelch
64c296d4cb Debug 2017-11-06 23:03:32 -07:00
lordwelch
27e87bac62 Debug 2017-11-06 23:03:20 -07:00
lordwelch
dfef41b847 Debug 2017-11-06 23:01:06 -07:00