Skip to content

Listener functions #8

@dkniffin

Description

@dkniffin

Hello. I know this is an old library, and I'm not sure if you're maintaining it anymore, but I'm interested in using it for hobby project I'm considering. My goal would be to build something similar to Synergy.

However, in order to do that, I would not only need to control the mouse (and keyboard via rukeyboard, but is that library complete?), but I'd also need to listen for when the state of those changes. For example, a mouse click/move or a key press. Is this possible in the current implementation? I don't see it in the docs.

I suppose a workaround could be to have a loop, and each time the loop runs, I could query for the current position, using mouse.position. But I don't think I see a way to query for mouse button states.

If this is not viable currently, I might fork RuMouse and RuKeyboard and add the functionality myself. I know nearly nothing about DLLs and ffi, but it would be a good learning excercise for me :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions