Hi, help using Gameboy Zero to run Raspbian OS

Hardware-related questions that don't fit into any of the specialized hardware categories go here.
ddoggy
Posts: 11
Joined: Sun Oct 16, 2016 8:58 pm
Has thanked: 3 times

Hi, help using Gameboy Zero to run Raspbian OS

Post by ddoggy » Mon Oct 24, 2016 9:40 pm

Hello
I'm a complete computer illiterate but I would like some help from this forum if possible

I'm trying to run Raspian OS on the Gameboy Zero (with the SD card). Now, my understanding is that I can put the OS on the SD card and then just plug in the cartridge containing that SD card to load the OS.

If so, would I be able to control the OS using the USB on the side (as a keyboard input)? do the D-pad, A,B,X,Y buttons work as a keyboard input?

Thank you very much

Cyborg_delta1
Posts: 48
Joined: Fri Sep 30, 2016 12:17 am
Has thanked: 11 times
Been thanked: 6 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by Cyborg_delta1 » Tue Oct 25, 2016 12:35 am

If you just want to run RetroPie on Raspbian that's fine first install Raspbian on your micro SD card and then follow this link to install Retropie.

https://github.com/retropie/retropie-se ... stallation

When you load RetroPie it will ask you to map out the buttons and D pad and when your in the OS you can just plug in a USB key board and use it as normal. If you don't mind me asking what do you want to do on the OS while not using Retropie?

ddoggy
Posts: 11
Joined: Sun Oct 16, 2016 8:58 pm
Has thanked: 3 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by ddoggy » Tue Oct 25, 2016 8:44 am

I'm trying to use the Gameboy Zero to run "Processing" to vaguely emulate a gameboy game whose primary function is to play music. Quite a waste of the whole gameboy zero project really, but I couldn't find a better way to let the user experience the whole thing as if they were playing a gameboy game.

I probably won't be using Retropie on the Raspbian itself - but am I correct to assume the d-pad and other buttons acts as a keyboard stroke on the Raspbian without much software tweaking?

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by vnman » Tue Oct 25, 2016 10:23 am

If you program your controller board as keyboard yes.

please see wiki for better understanding of controller boards.

http://sudomod.com/wiki/index.php?title ... ller_Input

here is example with the teensy

https://www.pjrc.com/teensy/td_keyboard.html

here for the pro micro -

https://www.sparkfun.com/tutorials/337

User avatar
Ganreizu
Posts: 552
Joined: Thu May 05, 2016 8:20 am
Has thanked: 168 times
Been thanked: 97 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by Ganreizu » Tue Oct 25, 2016 8:55 pm

ddoggy wrote:do the D-pad, A,B,X,Y buttons work as a keyboard input?
Yes, the controller board just needs to be programmed as a keyboard and not a gamepad.

I'm sure those controls make using it as keyboard inputs terribly limited though...I was going to just get a mini keyboard to carry around with the GBZ just in case; sounds like you may want to do the same.

ddoggy
Posts: 11
Joined: Sun Oct 16, 2016 8:58 pm
Has thanked: 3 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by ddoggy » Mon Oct 31, 2016 4:03 am

can someone tell me how to change the teensy from gamepad to keyboard on raspbian os? The links above doesn't seem to reflect my situation.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by Helder » Thu Nov 03, 2016 1:39 pm

ddoggy wrote:can someone tell me how to change the teensy from gamepad to keyboard on raspbian os? The links above doesn't seem to reflect my situation.
You say Teensy so we assume it's that but which of the teensy boards is it? If it's the Teensy LC I believe Wermy covered the keyboard code in his 2nd video in the series.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

ddoggy
Posts: 11
Joined: Sun Oct 16, 2016 8:58 pm
Has thanked: 3 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by ddoggy » Fri Nov 04, 2016 2:14 am

I'm not exactly sure, its Helder AIO board that is used in the system

ddoggy
Posts: 11
Joined: Sun Oct 16, 2016 8:58 pm
Has thanked: 3 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by ddoggy » Fri Nov 04, 2016 4:53 am

Wermy in his guide says:


If you ever need/want to reinstall a fresh copy of the latest RetroPie or try a different OS, there is no configuration you need to do to get the controller working; the OS just sees it as (in our case) a keyboard!

My gameboy zero was assembled to begin with, but I know that it is built with the Helder's AIO. (which seems like its using Atmega32U4 MCU as a microcontroller, but it should be already programmed)
the Retropie that came with the system recognizes the gamepad, so it seems I don't need to do any additional configuration, but when I installed Raspbian OS on an another SD card, the gamepads do not work as a keyboard input. (shouldn't I see some random letters when writing on the terminal or text editor?)

I'm desperately asking for help.... help..? :S

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Hi, help using Gameboy Zero to run Raspbian OS

Post by vnman » Fri Nov 04, 2016 6:45 am

I am afraid you misunderstood -

Teensy is a separate controller board that can be programmed as keyboard or as joystick. This in combination with the input board give either joystick movements to the pi or keyboard characters to the pi.

with Helder's AIO there is no teensy involved here, his board is the combination of both. By default the board is programmed as joystick and not keyboard. Helder can confirm if this is correct or not.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest