Commit Graph

60 Commits (c351167e009b086f4524f169b953107031fd2d45)

Author SHA1 Message Date
paring c351167e00 chore: setup macos module 2022-11-03 13:56:17 +09:00
paring 440b02678a fix: compile error on macos 2022-11-03 13:54:06 +09:00
paring 2b8e743869
feat: mouse hook 2022-11-02 22:03:29 +09:00
paring 41dba01e99
refactor: rename HOOK_ID to KBD_HOOK_ID 2022-11-02 21:51:37 +09:00
paring 372ae791ac
refactor: move keyboard hook callack to a separate file 2022-11-02 21:50:52 +09:00
paring 1c855e4e96
chore: remove unused comments 2022-11-02 21:32:32 +09:00
paring 8ecd1d84f0
fix: cargo check warning 2022-11-02 21:27:21 +09:00
paring aaca3cf474
refactor: remove unused fields 2022-11-02 21:26:30 +09:00
paring 7eecc5419a
feat: get real vkey code 2022-11-02 21:24:16 +09:00
paring a9673837a0
chore: use expect instead of unwrap 2022-11-02 21:10:11 +09:00
paring 6376ecf4ac
refactor: make processed_hook_id inline 2022-11-02 21:09:40 +09:00
paring af2abd49a5
refactor: rename hook parameter names 2022-11-02 21:08:48 +09:00
paring 55f0ef9f42
chore: remove unnecessary thread sleep code 2022-11-02 21:00:43 +09:00
paring 947c5e0862
chore: remove unnecessary logging macro 2022-11-02 20:59:37 +09:00
paring b717b01887
feat: message loop 2022-11-02 20:58:01 +09:00
paring 69461f0e13
feat: auto quit test after 5 seconds 2022-11-02 20:57:33 +09:00
paring 9b57402844
refactor: use into() instead of to_string() 2022-11-02 20:57:11 +09:00
paring 0c477b783b
refactor: move use declarations to top of file 2022-11-02 20:56:26 +09:00
paring 8d87171e49
chore: upgrade winsafe 2022-11-02 20:55:48 +09:00
paring a3158e5223
fix: readme 2022-11-02 19:41:23 +09:00
CrackThrough 0955d9d734 fix: prohibit starting hook if a hook is already set in place 2022-11-02 19:28:27 +09:00
CrackThrough 905038df0a chore: replace Skyhook to SkyHook 2022-11-02 19:21:15 +09:00
CrackThrough 088ffe0d07 feat: windows keyboard hook business logic
Co-authored-by: Pariring <parangee9706@gmail.com>
2022-11-02 19:19:12 +09:00
paring 5d91b60305
fix: project name on readme 2022-11-02 19:15:36 +09:00
paring 93bcd69cbe
fix: use thread builder(#1) 2022-11-02 19:08:38 +09:00
CrackThrough d698d4cf56
chore: set result return type to stop function on linux
Co-authored-by: Pariring <parangee9706@gmail.com>
2022-11-02 18:55:47 +09:00
paring aa1ac62745
fix: get cancellation token on start 2022-11-02 18:15:13 +09:00
CrackThrough 56a835db83 fix: only get winsafe if os is windows 2022-11-02 16:53:49 +09:00
CrackThrough 6589ea8532 feat: unfinished windows hook 2022-11-02 16:52:14 +09:00
CrackThrough 9eabf8bd2b chore: move winsafe to lib.rs 2022-11-02 16:52:14 +09:00
paring 19de50ba10
chore: make structure more simple 2022-11-01 22:50:42 +09:00
paring c38cbf0b12
feat: add current time to event 2022-11-01 22:35:08 +09:00
paring debf8ee452
feat: support cross platform 2022-11-01 20:50:49 +09:00
paring 24e7b99ddc
chore: add role guide 2022-11-01 20:45:02 +09:00
paring 12429b0ffd
fix: remove unused variable definition 2022-11-01 20:40:24 +09:00
paring 2acb353472
feat: process callback 2022-11-01 20:39:33 +09:00
paring 8c5e9af8ad
feat: receive callback function on start 2022-11-01 20:39:25 +09:00
paring 8076cd097e
chore: convert Event to enum 2022-11-01 20:38:03 +09:00
paring ae72a25e50
chore: park to block quitting 2022-11-01 20:30:50 +09:00
paring de18812467
chore: add unwrap 2022-11-01 20:30:40 +09:00
paring d5b3fe5d88
feat: run linux hook 2022-11-01 20:30:02 +09:00
paring 1945e563d6
feat: parse events 2022-11-01 20:29:43 +09:00
paring f87f950152
chore: add Debug derive to Error 2022-11-01 20:29:27 +09:00
paring fb46beb175
chore: remove .vscode from gitignore 2022-11-01 20:28:55 +09:00
CrackThrough c5252fb8b1 feat: forward start(), stop() method 2022-11-01 18:31:50 +09:00
CrackThrough 6d68f2db12 chore: rename title in README 2022-11-01 18:26:17 +09:00
CrackThrough 0c32aa9e5a chore: add winsafe dependency 2022-11-01 18:24:12 +09:00
CrackThrough 60a8c54eba chore: ignore environment directories 2022-11-01 18:20:56 +09:00
paring 179b697782
feat: linux input reader 2022-11-01 17:34:14 +09:00
paring d1875bbfbd
fix: readme
Co-Authored-By CrackThrough <crackthrough@gmail.com>
2022-11-01 17:33:22 +09:00