Commit graph

8 commits

Author SHA1 Message Date
LordMZTE 395cd49d4f small clean ups for flag operations 2020-09-07 00:35:53 +02:00
LordMZTE 4bbde71e8e add some abstraction to windows api calls 2020-09-01 16:31:07 +02:00
LordMZTE 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
LordMZTE dde124e76a add test 2020-09-01 00:38:42 +02:00
LordMZTE 225df7c08c alt key should work now 2020-08-26 15:29:16 +02:00
LordMZTE b953466376 fix key names once and for all!
hopefully...
2020-08-26 15:18:43 +02:00
LordMZTE 8bba874cd6 move some stuff
key names will finally be correct
2020-08-26 14:24:52 +02:00
LordMZTE 9e78b067f5 move keystate into own file
configure clippy linter
adjust style to linter settings
2020-08-26 13:51:43 +02:00