Commit graph

20 commits

Author SHA1 Message Date
395cd49d4f small clean ups for flag operations 2020-09-07 00:35:53 +02:00
4bbde71e8e add some abstraction to windows api calls 2020-09-01 16:31:07 +02:00
ee15231a47 KeyState uses flag to determine event type instead of seperate parameter
added is_down method to KeyState
added more tests
add get_flag and has_one_bit_set functions to lib.rs
change main.rs to use is_down instead of w_param for checking event type
2020-09-01 01:18:34 +02:00
dde124e76a add test 2020-09-01 00:38:42 +02:00
c4d86c372a bump version 2020-08-26 16:21:38 +02:00
225df7c08c alt key should work now 2020-08-26 15:29:16 +02:00
b953466376 fix key names once and for all!
hopefully...
2020-08-26 15:18:43 +02:00
8bba874cd6 move some stuff
key names will finally be correct
2020-08-26 14:24:52 +02:00
9e78b067f5 move keystate into own file
configure clippy linter
adjust style to linter settings
2020-08-26 13:51:43 +02:00
8948353106 add KeyState struct
other small improvements
2020-08-26 13:15:01 +02:00
277de089db rename logger module to logging
this prevents the module from having the same name as its parant
and makes the linter happy
2020-08-25 23:44:18 +02:00
f672a4680a add readme 2020-08-25 23:24:52 +02:00
45700dd855 actually add Cargo.lock to gitignore 2020-08-25 23:05:37 +02:00
18a542d586 add cargo.lock to gitignore 2020-08-25 23:03:42 +02:00
31c4fcdd71 remove unused import 2020-08-25 17:28:01 +02:00
4fd3ec98cc small performance improvements 2020-08-25 17:27:35 +02:00
ac61409ef4 fix mismatching buffer sizes 2020-08-25 16:47:45 +02:00
9fcc843f5c fix key name not working in release build 2020-08-25 16:46:47 +02:00
e2eee30b3e add logger system and file logger 2020-08-25 16:37:58 +02:00
c0e452f420 init 2020-08-25 13:12:41 +02:00