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

Added game controller rumble functionality #108

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

alexispaez
Copy link
Contributor

Added game controller Has_Rumble and Rumble functions.

@Lucretia
Copy link
Collaborator

the .clang-format file seems to have been added by mistake. Can you put it into your gitignore file and remove it from the PR please.

@alexispaez
Copy link
Contributor Author

I think I've removed the clang file, please let me know if it's ok.

@Lucretia Lucretia merged commit d652fe0 into ada-game-framework:master Oct 24, 2024
5 checks passed
@Lucretia
Copy link
Collaborator

Cheers. How about a program to test it, or is that a bit tricky?

@alexispaez
Copy link
Contributor Author

alexispaez commented Oct 24, 2024 via email

@alexispaez
Copy link
Contributor Author

alexispaez commented Oct 25, 2024

Hi Luke, I've just tried building sdlada_test_progrs to have a go at seeing how it works and I got this:

Note: Building sdlada_test_progs=0.0.1/test_maths.gpr (1/2)...
test_maths.gpr:1:06: imported project file "config/test_maths_config.gpr" not found
test_maths.gpr:5:60: unknown package or project "Test_Maths_Config"
test_maths.gpr:15:32: unknown package or project "Test_Maths_Config"
test_maths.gpr:21:40: unknown package or project "Test_Maths_Config"
gprbuild: "C:\work\ada\sdlada_test_progs\test_maths.gpr" processing failed
ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "C:\work\ada\sdlada_test_progs\test_maths.gpr"] exited with code 4
ERROR: Compilation failed.

Might be I'm missing something? I've cloned all the pinned sdlada crates so they are in place...

@Lucretia
Copy link
Collaborator

Yeah, I've had something similar before due to nested crates, mine works, alr is supposed to build those files. I'm not sure how I got it to work. Just change the following line to this for now:

project-files = ["sdlada_test_progs.gpr"]

and remove "libraries.adb", line from sdlada_test_progs.gpr.

@alexispaez
Copy link
Contributor Author

alexispaez commented Oct 26, 2024 via email

@Lucretia
Copy link
Collaborator

Yeah, just a test program that shows off something, like the other programs in that repo. I have a steam controller (v1) I can test it with.

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

Successfully merging this pull request may close these issues.

2 participants