Open qky1412 opened 1 week ago
Maybe this one can be an alternative: https://github.com/Narsil/rdev
Is there a Tauri native way to listen to keyboard global input?
I can't find find anything that would suggest so :/
On Tue, 10 Sep 2024 at 11:45, BppleMan @.***> wrote:
Tauri relies on a variant of winit called tao to handle system-level window management and dispatch hardware I/O events. You can use Tauri directly to listen for mouse events without needing to rely on third-party Rust libraries. tao handles system-level events and forwards them to the WebView engine via wry, allowing you to reasonably handle cross-platform mouse events using JavaScript.
— Reply to this email directly, view it on GitHub https://github.com/patrikzudel/strafe-evaluation/issues/8#issuecomment-2340182310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIG5M4D6KPEGVX6UM76CGHDZV25UFAVCNFSM6AAAAABNYFPBY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGE4DEMZRGA . You are receiving this because you commented.Message ID: @.***>
@BppleMan I feel like I am talking to a bot / LLM. It is not React and no, keydown is not sufficient for Global Input.
Maybe this one can be an alternative: https://github.com/Narsil/rdev
This one does seem promising 👍
I concur with you feelings that this is a bot @patrikzudel 😃
Here we are limited by https://github.com/obv-mikhail/InputBot - if someone can suggest a good cross compatible rust library for Global Input we can probably refactor the code to use it.