Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need instruction on how to run the example #2

Closed
kandroid29 opened this issue Sep 22, 2020 · 1 comment
Closed

Need instruction on how to run the example #2

kandroid29 opened this issue Sep 22, 2020 · 1 comment

Comments

@kandroid29
Copy link

I need some instructions on how to run the example, just failed to figure it out

@zduny
Copy link
Owner

zduny commented Sep 22, 2020

I've fixed a problem in example that may have caused mouse part of it to not work for some people, which is likely what caused your difficulties.
Re-download compiled example from here: gamepad-and-mouse-server.zip (or project main page).

Now, to answer your question directly:
To run compiled example download said zip archive, unpack it and then start contained executable - a console window should appear.
I recommend testing it with this tool: https://files.sshnuke.net/PadTest_1011.zip
Hit "Start" button first, then select first "Request data" checkbox:

pad-test

To run example from sources (assuming you have Rust language environment installed), clone project repository (or download and unpack sources directly), navigate to project root and run following command (from PowerShell or Windows Command Line):
cargo run --example gamepad-and-mouse-server

@zduny zduny closed this as completed Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants