BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Tue Oct 23, 2018 2:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How would i turn an atom into a gamepad?
PostPosted: Sat Jul 05, 2014 12:51 am 
Offline
New User

Joined: Sat Jul 05, 2014 12:40 am
Posts: 1
I'm trying to emulate a gamepad using the atom pro. I know it can be done on Arduinos by reprogramming the serial chip to appear as a keyboard.
But i'm trying to run the atom pro 24 or 28 as a gamepad, using 2 analog sticks and some buttons.

I have the sticks and buttons ready, i just don't know what i would have to send to a PC to make the PC think it's receiving gamepad or keyboard information.
I intend to use the serial out on the atom, and a serial in on the Raspberry Pi. So the PC will be using Linux. As is, i can probably send ASCII characters over and have the Pi pick it up as keyboard inputs, but i would like to use analog sticks which are variable. Not just emulate single key presses.

Again i know this can be done with an arduino, i just don't know if the atom can handle it too. I assume it could.


Top
 Profile  
 
 Post subject: Re: How would i turn an atom into a gamepad?
PostPosted: Wed Jul 09, 2014 8:51 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
Can a Duemilanova do it? If only an UNO can do it its probably because the usb chip is reprogrammable to look like a keyboard device. Then its not really the arduino which can do it its the fact the UNO uses a reprogrammable USB interface chip(eg an atmega88 I think).

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO