juliagoda / antimicroX

Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support
GNU General Public License v3.0
92 stars 13 forks source link

Feature Request: Functions #60

Open trymeouteh opened 5 years ago

trymeouteh commented 5 years ago

A neat feature would be the ability to be able to create functions. It can be something that is created in each profile and a function is just like when a keystroke is pressed except you are able to to start a function and end a command.

So if you press the A button it could be configured to run "MyFunction", "MyFunction" will hold the ~ key forever. Then you can press the B button to end "MyFunction". Or you can set the X button to run "MyOtherFunction" and "MyOtherFunction" can press Q and W once and then stop running the function. The possibilities are endless and with the advanced assignments we could run multiple commands with double tappings, press and holding, etc. This one simple feature will put Antimicro competing with Pinnacle Gamer Profiler or Padstarr.

The function can be managed in a menu somewhere in the profile and in there you can create, edit or delete functions. To add this to the profile file itself can be debate-able but maybe create a new tag called <functions> and then inside would be tags called <function name="MyFunction"> and then have the data for that function embeded inside of that.

juliagoda commented 5 years ago

Did you see that feature anywhere or is it your idea? I am asking because I like sometimes to follow other ideas to find a solution quicker

trymeouteh commented 5 years ago

This is my idea. I did make a post which was simular in details in the antimicro/antimicro github repo but that is dead so I thought I would post this here.

This post has more details on how it can work and how it differs from button/axis commands.

juliagoda commented 5 years ago

Ok, thanks