Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Connecting Wiimotes to computers

 
Post new topic   Reply to topic Printable version
 View previous topic  wow Continuum workers are stupid.. Post :: Post Request for a new Server.zip build  View next topic  
Author Message
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Jul 14, 2007 3:22 pm   Post maybe stupid    Post subject: Connecting Wiimotes to computers Reply to topic Reply with quote

http://carl.kenner.googlepages.com/glovepie_download

This is an AMAZING program. I was working on getting my Wiimote connected to my computer(so I could use the Classic Controller to play SSB online) when I ran across this. You can script your Wiimote to do just about anything. Not just Wiimotes, it's built to work with any kind of controller, and it's built to accommodate awkward controllers, even things like power gloves. I'm so excited. I haven't exactly got the Classic Controller working the way I want yet(and I haven't even begun actually getting it recognized as a gamepad in my emulator) but I'm sure it's possible. I know a lot of you aren't huge video game players, but a lot of you probably wouldn't mind playing around with an old game you used to play.

Anyway, you have to write scripts for everything, but it's very simple. For most games you can just type things like

A = Wiimote.Classic.A
B = Wiimote.Classic.B

That would bind the A button on the Classic Controller to the A key on your keyboard. But if you want to get advanced, you can use the analog sticks, but it requires PPJoy(I haven't gotten that working yet, either), which is also simple.

PPJoy.Analog0 = Wiimote.Classic.Joy1X
PPJoy.Analog1 = Wiimote.Classic.Joy1Y

That just sets the left analog on the Classic Controller(Joy2X and Joy2Y would be right) to work with PPJoy. If you want to get super fancy, you could write a script to control your mouse with the Wiimote. I actually used it to write a script (it was 5 lines I think) so I can control my mouse with my arrow keys and using control for the left mouse button, for those days I'm exceptionally lazy and don't want to reach for the mouse. Anyway, I thought some of you that either had some of the new bluetooth controllers or still had old joysticks laying around might be interested in toying around with them. I'm going to try to use my controller to play One Must Fall, since it works with DOSBox, too... maybe I can finally pull off that crazy Gargoyle combo.

Oh, if you're interested in seeing what the script looked like that let you use your Wiimote as your mouse, here it is:

Code: Show/Hide
//My wii-mote control of mouse
//by freshgeardude

// Show wiimote forces
debug = "X="+Wiimote.RawForceX+' Y='+Wiimote.RawForceY+' Z='+Wiimote.RawForceZ

//Movement Keys. Works for both arrow keys and WASD.
Keyboard.W and Keyboard.Up = Wiimote.Up
Keyboard.S and Keyboard.Down = Wiimote.Down
Keyboard.A and Keyboard.Left = Wiimote.Left
Keyboard.D and Keyboard.Right = Wiimote.Right

//Key assignments. Feel Free to change
Keyboard.Esc = Wiimote.Home
Keyboard.PageUp = Wiimote.One and Keyboard.pageup = Wiimote.Plus
Keyboard.pagedown = Wiimote.Two and Keyboard.pagedown = Wiimote.Minus

//You might want to switch these depending on your tastes
Mouse.LeftButton = Wiimote.A
Mouse.RightButton = Wiimote.B


//Controls LEDs
if Wiimote.A or Wiimote.B
Wiimote.Led1 = 1
wait 500 ms
Wiimote.Led2 = 1
wait 500 ms
Wiimote.Led3 = 1
wait 500 ms
Wiimote.Led4 = 1
wait 500 ms
endif

if Wiimote.A = 0 and Wiimote.B = 0
Wiimote.Led1 = 0
Wiimote.Led2 = 0
Wiimote.Led3 = 0
Wiimote.Led4 = 0
endif

// set these to the offsets when the wiimote is at rest
// will be different for each wiimote
var.x = Wiimote.RawForceX +11.00 //trim to 0
var.y = Wiimote.RawForceY -35.00 // trim to 0
var.z = Wiimote.RawForceZ +10.00 //trim to 0

//precision
var.sense0 = 500
var.thresh0x = 5
var.thresh0y = 2


Edit: Here's a wiki with a bit of info on the scripting: http://www.wiili.org/index.php/GlovePIE
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Sercit
99.5% Optimistic


Age:41
Gender:Gender:Cat Lover
Joined: Sep 12 2003
Posts: 352
Offline

PostPosted: Fri Aug 03, 2007 12:49 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I know this is horribly off-topic, but with scripts like this I can't help but wonder if this isn't the next logical step for consoles. Instead of buying the console we end up buying a kinda pseudo-OS to run the games off the PC. I mean, it's not like you can't connect the PC to a high def TV now, or just a regular crappy one.
Back to top
View users profile Send private message Add User to Ignore List
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Fri Aug 03, 2007 1:54 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

This is a step further off-topic, but I just decided last night I wanted to connect my computer to my TV. How would I go about doing that? =\

And it makes sense to me that consoles would eventually die out... but the advantages of consoles are still pretty big. Maybe a hundred years in the future, when computer knowledge is considered as important is the English language, PCs will finally completely take over.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Fri Aug 03, 2007 2:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I've connected my pc to my tv before. I would suggest not using the cheapo cables. I had to put my pc in the lowest resolution and it still had a bad image on the tv.

Do you have an s-video slot? I think a HD s-video would work better than the cable I had. If you don't have an s-video slot on your tv, you can buy something called a modulator for about $30.

A good cable will be expensive. The s-video cable I got (short, black and white) was around $15. The guy said the good ones usually run for about $50+.

You could also buy a $600 projector (probably the best quality).

The cable I had looked a lot like this (the bad one):
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Fri Aug 03, 2007 2:58 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well, it's easy for companies to completely overcharge on cables. The markup on those things are insane... I'll just make my own S-Video cable. Do I have to get a video card that has an S-Video output? I'm just about to buy a video card, so I could manage that.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Fri Aug 03, 2007 3:20 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Good luck. Remember, you get what you pay for. icon_lol.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Aug 03, 2007 8:41 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Even with a better cable don't TVs still have considerably less resolution than computers? A quick check reveals NTSC to be 720x480. If you ever tried emulating a console game you may end up enlarging the image to make it fill the screen, pixelating it in the process (although there are several filters out there that attempt to smooth the edges).
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Tue Aug 07, 2007 12:26 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I'm really not concerned with a bit of pixellation(as long as it's as minor as I think it would be). The only things I'd be worried about would be that maybe processing for 2 outputs would be too much for my video card to work amazingly well, and it would start lagging or something.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
baseball43v3r
Seasoned Helper


Joined: Jan 02 2006
Posts: 102
Offline

PostPosted: Tue Aug 07, 2007 1:04 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

going even further offtopic. if i wanted to make a tv a node on a network how would i do it? a quick google search returned irrellevant results so maybe i searched the wrong thing. but basically i want to be able to play movies or tv shows from a database (like a NAS, or external HDD) and not have to worry about too much. i kinda had an idea to start a company that did media integration in a house, basically the idea was to do speakers in every corner of every room and have the tv's all wired to the database. and, using something like a pda or small tablet pc, be able to pick movies and music for each tv and room. any idea's or could this be just a pipedream?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Aug 07, 2007 9:37 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Just hook up a computer to your TV using S-Video (lots of gfx cards have them these days).
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Thu Aug 16, 2007 9:04 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Aye, I tried the S-Video thing... it was horrible. I couldn't make out a single thing. I'm no graphics whore, not in the least. Hell... I play Continuum. But the graphics were honestly bad enough to make it unplayable. Fortunately, my new video-card(I got a 7600GT) can also use component video. Problem with that is the cord is too short, and I don't have extensions. >_>
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Aug 19, 2007 10:07 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Did you have your computer set to the right resolution? American TVs are 640x480, if I recall correctly. When I hooked up my computer to a TV it actually looked great.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Aug 19, 2007 11:23 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
American TVs are 640x480, if I recall correctly.


They're less than that, though I forget the exact number.

My card did a pretty good job with S-Video last time I tried it. The high resolutions were absolutely terrible, but 640x480 came out decently.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
baseball43v3r
Seasoned Helper


Joined: Jan 02 2006
Posts: 102
Offline

PostPosted: Mon Aug 20, 2007 1:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

i forget if the wiimote is bluetooth or rf, but either way is there any decent internal recievers for a desktop computer for either? since i'm assuming that would also be needed to connect the controller.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Wed Aug 22, 2007 8:08 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

It's bluetooth... but you don't need an internal device. I've never actually seen any internal bluetooth devices... except for ones that are built-in to the computer. You could just buy a 10$ Bluetooth USB dongle, that's what I did.

Actually... I haven't been able to get my 10$ Bluetooth dongle to work... I've been borrowing one from Verizon that I use. But either way....
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Wed Aug 22, 2007 3:21 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Animate Dreams wrote:
I've never actually seen any internal bluetooth devices... except for ones that are built-in to the computer.


No I have one!
Back to top
View users profile Send private message Add User to Ignore List AIM Address
baseball43v3r
Seasoned Helper


Joined: Jan 02 2006
Posts: 102
Offline

PostPosted: Sat Sep 01, 2007 7:49 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

well all laptops have one, and i'm assuming it would be easy to get a built in one. i'm just not sure what to look for an the few random searches i've tried havent panned out. this would be for a desktop though. i imagine it would just plug in and stick out of a 5" or 3.5" bay
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 32 page(s) served in previous 5 minutes.

phpBB Created this page in 0.762374 seconds : 41 queries executed (83.7%): GZIP compression disabled