Commit Graph

85 Commits

Author SHA1 Message Date
Timmy Welch
572af746fa Change module location 2024-04-17 17:14:23 -07:00
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
d1b2d5623a Add a clean exit for not providing a keymap to use 2020-03-05 23:56:51 -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
45f9df45bb cleanup 2018-11-09 17:23:07 -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
cd5638b988 sync 2018-10-29 22:07:51 -07:00
lordwelch
02aa4cd6c2 restructure 2018-10-20 16:50:08 -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
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
lordwelch
1b25ef40db Debug 2017-11-06 23:00:02 -07:00
lordwelch
b651932922 Debug 2017-11-06 22:58:36 -07:00
lordwelch
eb1d9f6bee Debug 2017-11-06 22:56:53 -07:00
lordwelch
cac1287945 Debug 2017-11-06 22:55:57 -07:00
lordwelch
a24946419d Change Json type 2017-11-06 22:52:49 -07:00
lordwelch
b7e273e787 Debug 2017-11-06 22:24:46 -07:00
lordwelch
0d2c476db9 Debug 2017-11-06 22:22:44 -07:00
lordwelch
a762e038f2 Initialize 2017-11-06 22:21:15 -07:00
lordwelch
138707e5b8 For some reason I decided to trim the extension 2017-11-06 22:18:08 -07:00
lordwelch
b4d280e5ef Missing dot on extension 2017-11-06 22:16:59 -07:00
lordwelch
008b12f1b6 Debug 2017-11-06 22:16:15 -07:00
lordwelch
0d3ef81c5f Debug 2017-11-06 22:15:27 -07:00
lordwelch
57b15ad53e Debug 2017-11-06 22:14:09 -07:00