Arduboy Gamepad - Map buttons to keys!


#1

Description

Arduboy Gamepad allows you to map your Arduboy’s buttons to keyboard keys.

Instructions

Power it up, choose some key bindings, and play!

Media

Installation

  • Download the source code ZIP from the Github repository
  • Rename the extracted “ArduboyGamepad-master” folder to “ArduboyGamepad”
  • Open ArduboyGamepad.ino with Arduino IDE 1.6.7+
  • (Optional) Select your board using the Arduboy boards.txt file
  • Click the upload button to install to your Arduboy
  • Now play some flash games!

Tips

  • You can save up to five mapping configurations.
  • Alphanumeric, function and modifier keys are supported.
  • To exit from gamepad mode back to the main menu, turn the Arduboy off and on again.
  • Want a feature? Just leave a reply in this thread!

Do you have to use the reset button every time you want to change a game?
New (another) unofficial repo :)
Step09 シリアル通信(デバッグ)、スクリーンショット
Develop for Arduboy on a Pocket CHIP
New (another) unofficial repo :)
Keyboard.println not working properly?
USB HID - Turn Arduboy Into Generic Gamepad
"Semi-Official" Game List for the Arduboy
Numpad emulation
How do I convert inputs? [Solved]
ArduboyMouse, use the Arduboy as a 2-button mouse
Best of Arduboy 2016
#2

I tested any shooting game.
No problem. Fine. I was surprised arduino library power(Keyboard.h).
nice idea software.

edited. :zipper_mouth:


(Kevin) #3

shhhhh… :zipper_mouth:


(Holmes) #4

This is absolutely brilliant! Amazing work, dude! I love the idea and love that you can save the inputs! Can’t wait to load this up on my Arduboy whenever I get it in. :smiley:


(Ross) #5

You know everyone can still view the edit anyway right?

This is a public discussion, if a user wants to mention a product it won’t hurt anything on any level. So the edit is just odd here.


#6

I think they understand and are just having fun with the forum software :grin:


(Ross) #7

One can only hope :smiley:


(Leo) #8

Well out of the last two Kickstarter backings I’ve done arduboy is my favorite…

So I decided to combine the two! Lol I was bored😜


(Sebastian Perez Galarza) #9

upload code!!! upload code!!! XD


(Leo) #10

The pocket chip was set up following this, with some tweeks…

The arduboy is the same code posted in the first post of this topic, no change.


(Holmes) #11

I just tried this out and it’s as amazing as I thought it would be! Great job, @fuopy!


(Jezzamon) #12

This is great! I was just about to program something like this myself out of curiosity to see whether it was possible. I now know it is, and not only that, but you’ve made something much better than I would have!

One issue: The labels for the A and B buttons seem to be backwards. This one seems to use the gameboy conventions, whereas the buttons are named differently on the Arduboy.


(Mattia Colasanto) #13

Hello, Guys.
Today, 20th December 2016 i have uploaded Arduboy Gamepad Sketch to test it.
When i have uploaded it i noticed that it doesn’t work well.
After i have installed ArduSnake to test it , I realized that was not working the key A_BUTTON :frowning:

What i have tried :

Clean EEPROM;
Disassembled Arduboy to test hardware;
What i think is the problem :

When I was hacking with Arduboy Gamepad I “accidentally” modified settings by assigning anything to A_BUTTON and now I do not know how to restore it :frowning: Help me please …

Regards.
-P3RISH (Mattia Colasanto);


(Kevin) #14

@P3RISH it might be better to start a new thread, because if you upload new software, all of the device settings are reset. The only way to cause a problem that will persist between uploading new games is if you modified the library. And if you did that, and are concerned about the edits to the library, you can always re-download the library.

Last but not least it is possible there is a mechanical issue with the A button as well.


(Jezzamon) #15

Worth noting to future users: There’s a bug with this tool. I’ve submitted a pull request to fix it but fuopy hasn’t accepted it yet… it’s been a while. :confused:


(Kyran Bullard) #16

Any chance on a .hex or .arduboy file?


(Erwin) #17

http://arduboy.ried.cl


(Kyran Bullard) #18

Awesome!! I just got everything I was looking for in that link. THANK YOU!!


(Kyran Bullard) #19

Where is the enter button on the gamepad?