kkaja123 / Gopher360

Gopher360 is a free and open source zero-configuration-needed application that turns your Xbox 360, Xbox One, or even DualShock controller into a mouse and keyboard. Just download, run, and relax.
GNU General Public License v3.0
6 stars 2 forks source link

Mapping 1 key to Controller Button Combo #42

Open kkaja123 opened 4 years ago

kkaja123 commented 4 years ago

Originally posted by @SyntaxB I want to have the Escape key Bound to a Button combo on the controller.. How could this be done? I tried everything to the Config but nothing.

Please Help

Thank you

Update.. So i need to add a new Configuration binding We just need to make it select the Escape key (VK_ESCAPE ) when the button combo is set in the config file. I wont list everything but i tried everything in visual studio but i could not get this to work?

Any help Please!

Update... I got this figured out.. I had to add a new keybinding. This had to be done in the .cpp. So this app is a rebuild and I'm not sure now to give this to people that are having the same issue. When you load the program now there is a Escape binding in the config that you can map to any controller button .

If anyone wants this i can give it to whomever. I would like to give it to the main developer but I'm unsure of how to contact him..

kkaja123 commented 4 years ago

Originally posted by @kkaja123 If you would like to contribute your changes to the project, you will need to make a Pull Request. This requires knowledge of Git. You need to make a branch off of the master branch, commit your changes on that new branch, and submit a pull request from your branch to the master branch. The Pull Request will need to be reviewed by the repository owner before the changes are integrated into the mainline code.

This seems to be a decent tutorial if you have very little knowledge of Git: Pull Request Tutorial.

Make sure to make a backup of your changes if you are unsure of this process, and since you probably don't have Git already set up for this repository.

kkaja123 commented 4 years ago

Originally posted by @SyntaxB Thank you for the information. I did not create a Fork of the Repository. So my code is behind. Is there anyway i can just share the simple addition that i made to the code with the creator?

Thank you!

kkaja123 commented 4 years ago

Originally posted by @kkaja123 Since the creator has not shared any contact email or anything, I don't think you can send the changes directly to him. There are ways to update your code base while keeping your changes intact. I'm sure there are guides out there that you can find if you really want your changes in the code. A "merge" or "rebase" operation might do the trick.

Once I finish installing VS2017 to make a few additions myself, I might be able to implement something similar to what you have described. So even if you end up giving up on using Git, I'll keep this issue in mind. (But don't give up! Learning about Git can be used for many other projects!)