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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

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

@bootsector

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

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

@kuwoh

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

some of the pins are either wired to leds sadly

@bootsector

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

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

@kuwoh

This comment has been minimized.

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

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

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

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

i'll try it out

@kuwoh

This comment has been minimized.

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

This comment has been minimized.

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.

@bootsector bootsector closed this Jun 29, 2018

@kuwoh

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

Alright. Cheers mate.
update: forked it :)

@bootsector

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

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

@kuwoh

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

done :D

@kuwoh

This comment has been minimized.

Copy link
Author

kuwoh commented Jun 29, 2018

stupid question: how do you compile this?

@bootsector

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

@kuwoh

This comment has been minimized.

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

This comment has been minimized.

Copy link
Owner

bootsector commented Jun 29, 2018

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

@kuwoh

This comment has been minimized.

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

This comment has been minimized.

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
You can’t perform that action at this time.