Help with keyboard to xbox 360?
-
- One Eyed Hopeful
- Posts: 21
- Joined: Thu Oct 19, 2017 6:14 pm
Help with keyboard to xbox 360?
Need help scripting keyboard input to xbox 360 output. I'm kinda new to scripting and having trouble with the analog sticks and the triggers. Thanks in advance
-
- Cross Eyed!
- Posts: 197
- Joined: Mon Mar 02, 2015 3:58 pm
Re: Help with keyboard to xbox 360?
What exact issues do you have? If you are more specific, there is a better chance someone could help you.
-
- One Eyed Hopeful
- Posts: 21
- Joined: Thu Oct 19, 2017 6:14 pm
Re: Help with keyboard to xbox 360?
An exception gets thrown that says "Cant assign to read-only property of type 'XBox360PluginGlobal'"
-
- Cross Eyed!
- Posts: 197
- Joined: Mon Mar 02, 2015 3:58 pm
Re: Help with keyboard to xbox 360?
Could you provide the code which causes that error?
-
- One Eyed Hopeful
- Posts: 21
- Joined: Thu Oct 19, 2017 6:14 pm
Re: Help with keyboard to xbox 360?
Yeah it's:
Code: Select all
xbox360[0].a = keyboard.getKeyDown(Key.Space)
-
- Cross Eyed!
- Posts: 197
- Joined: Mon Mar 02, 2015 3:58 pm
Re: Help with keyboard to xbox 360?
This is because the built-in code for xbox360 is for reading the values of the physical xbox controller only, not for its emulation (if you look at the page http://andersmalmgren.github.io/FreePIE/ you will see it only has a folder icon, which is reading, not a pencil).
What you need is a plugin that emulates an xinput controller. One of those is xoutput:
https://github.com/dschu012/XOutputPlugin
What you need is a plugin that emulates an xinput controller. One of those is xoutput:
https://github.com/dschu012/XOutputPlugin
-
- One Eyed Hopeful
- Posts: 21
- Joined: Thu Oct 19, 2017 6:14 pm
Re: Help with keyboard to xbox 360?
Thanks for all your help on this thread and the other one, I seriously appreciate it.
-
- Cross Eyed!
- Posts: 197
- Joined: Mon Mar 02, 2015 3:58 pm
Re: Help with keyboard to xbox 360?
You are welcome, let me know if you need anything else. I am not much of a programmer, so I cannot help with the development, but if I think I can help otherwise, I try.