Hacking WiiMote as Mouse.

ZeWarrior

TheWarrior
OP
Member
Joined
Jul 2, 2007
Messages
2,810
Trophies
0
Website
Visit site
XP
298
Country
Brazil
One problem though. How would we connect it
ohmy.gif
 

pinesal

Well-Known Member
Member
Joined
Aug 3, 2006
Messages
161
Trophies
1
XP
352
Country
United States
You just connect the sensor bar to the Wii. All that bar is, is two lights the only thing it needs to work is power.
 

Heran Bago

Where do puyo come from?
Member
Joined
Nov 6, 2005
Messages
3,100
Trophies
0
Age
35
Location
Foggy California
Website
heranbago.com
XP
1,187
Country
United States
Glovepie users, this is what I use sometimes. It's a wiimote+ nunckuck setup that's nice for web browsing but not precise stuff like photoshop.

CODE//Use the A-stick as a mouse!
//Hold C for slow! Z for fast!
//Crap script by Heran Bago
var.x = 0.020*Wiimote1.Nunchuk.JoyX
var.y = 0.025*Wiimote1.Nunchuk.JoyY
if Wiimote1.Nunchuk.CButton
var.x = var.x/2.5
var.y = var.y/2.5
endif
if Wiimote1.Nunchuk.ZButton
var.x = var.x*2.5
var.y = var.y*2.5
endif
if Wiimote1.Nunchuk.JoyX > 0.5
mouse.x = mouse.x + var.x
elseif Wiimote1.Nunchuk.JoyX < -0.5
mouse.x = mouse.x + var.x
endif
if Wiimote1.Nunchuk.JoyY > 0.5
mouse.y = mouse.y + var.y
elseif Wiimote1.Nunchuk.JoyY < -0.5
mouse.y = mouse.y + var.y
endif
//Home and End
Key.Home = Wiimote1.One + Wiimote1.Nunchuk.CButton
Key.End = Wiimote1.Two + Wiimote1.Nunchuk.CButton
//Clickin'
Mouse.LeftButton = Wiimote1.A
Mouse.RightButton = Wiimote1.B
//WASD
Keyboard.W and Keyboard.Up = Wiimote1.Up
Keyboard.S and Keyboard.Down = Wiimote1.Down
Keyboard.A and Keyboard.Left = Wiimote1.Left
Keyboard.D and Keyboard.Right = Wiimote1.Right
//Key assignments. Feel Free to change
Keyboard.Esc = Wiimote1.Home
Keyboard.PageUp = Wiimote1.One
Keyboard.pagedown = Wiimote1.Two
Key.VolumeUp = Wiimote1.Plus
Key.VolumeDown = Wiimote1.Minus
//Controls LEDs
if Wiimote1.A or Wiimote1.B
Wiimote1.Led1 = 1
wait 500 ms
Wiimote1.Led2 = 1
wait 500 ms
Wiimote1.Led3 = 1
wait 500 ms
Wiimote1.Led4 = 1
wait 500 ms
endif
if Wiimote1.A = 0 and Wiimote1.B = 0
Wiimote1.Led1 = 0
Wiimote1.Led2 = 0
Wiimote1.Led3 = 0
Wiimote1.Led4 = 0
endif
 

Lukeage

Well-Known Member
Member
Joined
Feb 24, 2004
Messages
178
Trophies
0
Website
Visit site
XP
271
Country
My PC monitor is also my TV monitor (24" lcd) so the sensor bar is always on top of my screen anyway. All you need it a cheap usb bluetooth adapter and off you go.

Can't say I've used it much since buying a 360 controller for my PC though.
 

lowbelly

Member
Newcomer
Joined
Mar 15, 2007
Messages
7
Trophies
0
XP
48
Country
United States
yeah i use darwiin .5 with the sensor bar. it works great but too sensitive for extended use. my gyration is a much better solution.


yeah and you have to leave your wii on so the sensor bar gets power.
 

lowbelly

Member
Newcomer
Joined
Mar 15, 2007
Messages
7
Trophies
0
XP
48
Country
United States
...have you tried double clicking an icon with a wiimote? it's almost impossible to click and not drag the thing inadvertently.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
  • DilllyDabDharma @ DilllyDabDharma:
    I'm new! Hi!
  • cearp @ cearp:
    Welcome
  • DilllyDabDharma @ DilllyDabDharma:
    What are your favorite topics?
    DilllyDabDharma @ DilllyDabDharma: What are your favorite topics?