Teensy: Keyboard vs Joystick Decision

Got an idea for a project? Found a cool project you want to share? Post it here!
User avatar
Robots86
Posts: 268
Joined: Thu May 05, 2016 1:18 am
Location: Birmingham, UK
Has thanked: 39 times
Been thanked: 28 times

Re: Teensy: Keyboard vs Joystick Decision

Post by Robots86 » Thu Jun 02, 2016 12:53 am

hencethus wrote:
Robots86 wrote:Thanks hencethus. Do you know if this code will sort the issue im having with fba not recognising the dpad? I setup as a button joystick which works fine on the majority of emulators but im not having any luck with fba...
I just tried the CPS1 game 1941: Counter Attack on FBA and it works.
Quality i will give this a try later. Do i have to select a certain option from the menu? Before i was using the examples, joypad, buttons option. I presume i just set as teensy usb keyboard/joypad?

User avatar
hencethus
Posts: 27
Joined: Thu May 05, 2016 9:20 am
Been thanked: 4 times

Re: Teensy: Keyboard vs Joystick Decision

Post by hencethus » Thu Jun 02, 2016 8:25 am

Robots86 wrote:I presume i just set as teensy usb keyboard/joypad?
Correct.

User avatar
Robots86
Posts: 268
Joined: Thu May 05, 2016 1:18 am
Location: Birmingham, UK
Has thanked: 39 times
Been thanked: 28 times

Re: Teensy: Keyboard vs Joystick Decision

Post by Robots86 » Thu Jun 02, 2016 8:28 am

Thanks again

User avatar
skrapps914
Posts: 184
Joined: Sat May 28, 2016 8:14 pm
Has thanked: 63 times
Been thanked: 33 times

Re: Teensy: Keyboard vs Joystick Decision

Post by skrapps914 » Thu Jun 02, 2016 9:31 pm

if there's space, would it be possible to connect 2 teensy inside, one for keyboard input, and one for controller input? and just connect the keyboard when needed?

User avatar
hencethus
Posts: 27
Joined: Thu May 05, 2016 9:20 am
Been thanked: 4 times

Re: Teensy: Keyboard vs Joystick Decision

Post by hencethus » Thu Jun 02, 2016 9:52 pm

skrapps914 wrote:if there's space, would it be possible to connect 2 teensy inside, one for keyboard input, and one for controller input? and just connect the keyboard when needed?
Just connect a USB keyboard to the external USB port when needed. Don't need another Teensy for that.

User avatar
skrapps914
Posts: 184
Joined: Sat May 28, 2016 8:14 pm
Has thanked: 63 times
Been thanked: 33 times

Re: Teensy: Keyboard vs Joystick Decision

Post by skrapps914 » Thu Jun 02, 2016 10:26 pm

hencethus wrote:
skrapps914 wrote:if there's space, would it be possible to connect 2 teensy inside, one for keyboard input, and one for controller input? and just connect the keyboard when needed?
Just connect a USB keyboard to the external USB port when needed. Don't need another Teensy for that.

sorry about that, i wasn't thinking straight. i'm new to this all. lol so the best bet would be to program the teensy as a controller, and not keyboard, right? since you can just connect a usb keyboard if needed?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest