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

Mind doing some pin remapping for other 32u4 boards? (Arduino Leonardo R3) #2

Closed
kuwoh opened this issue Jun 21, 2018 · 18 comments
Closed

Comments

@kuwoh
Copy link

kuwoh commented Jun 21, 2018

Hello I have an Arduino Leonardo R3 board and I sort of hope you could remap some buttons to some pins for that board if you don't mind that is.

xinputleo

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

this or somekind of config changer? would be nice :D

@bootsector
Copy link
Owner

Hi there! Any reasons why you can't follow same pinout of the Leonardo Micro? Both boards share the same micro-controller.

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

some of the pins are either wired to leds sadly

@bootsector
Copy link
Owner

They should still work. Which pins have you tested and didn't work?

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

pb0 and pc7 is wired up to an led, etc. i don't want to mess with the smd leds on this board

@bootsector
Copy link
Owner

Yes, they are wired up to leds. But have you actually tested it? It should work out of the box without having to mess with the smd leds. Arduino micro has the same leds wired up and everything works.

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

i'll try it out

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

the pins very well work indeed but again there seems to be no input for the ss pin other than the led and i would've wished for a more modular board (making a mechanical arcade stick)

@bootsector
Copy link
Owner

bootsector commented Jun 29, 2018

Please fork this repo so one can implement the specific changes you've requested. I might send you a pull request once I have some time to play with this.

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

Alright. Cheers mate.
update: forked it :)

@bootsector
Copy link
Owner

Cool! Please add me as a collaborator of your forked repo.
Repo -> Settings -> Collaborators

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

done :D

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

stupid question: how do you compile this?

@bootsector
Copy link
Owner

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

idk what im doing wrong but it seems like it wont compile for me using make :I mind if you make a build for me? i've been stuck at this for 2 hours xD

update: got to compile it imma test it

@bootsector
Copy link
Owner

XInputPadMicro.zip
Just saw you have compiled it. Here's the .hex anyways.

@kuwoh
Copy link
Author

kuwoh commented Jun 29, 2018

thanks :D just for good measure its a good thing you compiled for me as well :) (as i was wiring up one of the wires i soldered broke off :/ have to hold off till tommorow)

@kuwoh
Copy link
Author

kuwoh commented Jun 30, 2018

everything i need works :D thanks mate

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

3 participants
@bootsector @kuwoh and others