Console controller-PC

Re: Console controller-PC

Post by tgoe on Fri Jun 18, 2010 12:07 am
([msg=40343]see Re: Console controller-PC[/msg])

I've been wanting a simple solution for this for some time :) Maybe contribute here: http://www.freebsd.org/cgi/cvsweb.cgi/p ... /pkg-descr
User avatar
tgoe
Contributor
Contributor
 
Posts: 718
Joined: Sun Sep 28, 2008 2:33 pm
Location: q3dm7
Blog: View Blog (0)


Re: Console controller-PC

Post by msbachman on Fri Jun 18, 2010 12:38 am
([msg=40348]see Re: Console controller-PC[/msg])

Well I think going back to the N64 controller that plugging the damn thing in is going to be your first task. I know for a fact that people have coded up things to interface a wiimote with a computer but haven't heard much about doing it with an N64 controller. I'm probably wrong though, some inventive person has probably done it.

If a wiimote is fine with you, perhaps check out this link it references some open source 'code' (of some sort) to allow it to work. Says it's windows only though, but there's an open source alternative coming, depending on your choice of OS.

http://lifehacker.com/5042254/operate-your-computer-with-wii-controllers

I'll be glad if that helps you even a smidge. Coding up something like that is likely going to be a major task. There are tutorials available for reverse engineering drivers but then I think you might need to make some sort of GUI code to control mouse movement.

http://www.linuxjournal.com/article/7353

Good luck!
"I'm going to get into your sister. I'm going to get my hands on your daughter."
~Gatito
User avatar
msbachman
Contributor
Contributor
 
Posts: 681
Joined: Mon Jan 12, 2009 10:22 pm
Location: In the sky lol
Blog: View Blog (0)


Re: Console controller-PC

Post by FunctionCreep on Fri Jun 18, 2010 1:07 pm
([msg=40406]see Re: Console controller-PC[/msg])

Something that may be of help to you, even as a reference of some sort is the linux xbox controller drivers(called xpad). Keep in mind that that essentially the xbox controller is a usb controller with an extra yellow wire to provide power for the rumblers.

You can get the xpad drivers from here: http://dwl.xbox-scene.net/%7Exbox/xbox-scene/tools/drivers/xpad.tar.bz2 . Source code is included in there so you can take a look and get an idea of libraries you'll be needing etc. There are also explanations throughout the code so you won't be looking at a block of source code with no idea of what's happening where.

Keep us posted this looks like a fun project. 8-)
"I hope for nothing. I fear nothing. I am free." ~ Nikos Kazantzakis
User avatar
FunctionCreep
Experienced User
Experienced User
 
Posts: 92
Joined: Tue May 18, 2010 6:19 pm
Blog: View Blog (0)


Re: Console controller-PC

Post by t0m4t3 on Sun Jun 27, 2010 6:42 am
([msg=40848]see Re: Console controller-PC[/msg])

Thank you all for the help!!

I have been loking for some microcontrolers, and since I have only used one I don't really have any idea about which one to use.
Do you people think aurdino USB will do?
Is it very hard to work with aurdino?

Thanks again
t0m4t3
New User
New User
 
Posts: 8
Joined: Mon Mar 09, 2009 7:38 am
Blog: View Blog (0)


Previous

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests