patrikzudel / strafe-evaluation

Program that allows you to track your strafe performance! Find out if you would benefit from Snap Tap | SOCD.
GNU General Public License v3.0
46 stars 1 forks source link

MacOS support #8

Open qky1412 opened 1 week ago

patrikzudel commented 1 week ago

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.

qky1412 commented 1 week ago

Maybe this one can be an alternative: https://github.com/Narsil/rdev

patrikzudel commented 1 week ago

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: @.***>

patrikzudel commented 1 week ago

@BppleMan I feel like I am talking to a bot / LLM. It is not React and no, keydown is not sufficient for Global Input.

patrikzudel commented 1 week ago

Maybe this one can be an alternative: https://github.com/Narsil/rdev

This one does seem promising 👍

NaunidhDua commented 1 day ago

I concur with you feelings that this is a bot @patrikzudel 😃