Hacking Wii U GamePad for PC Input

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
Hello, tempers!

A couple of days ago I read a thread concerning the use of Wii U's GamePad as an input method on one's PC. All of the posts I read basically reiterated the same issue: "You need a hacked Wii U to better understand the data transfer protocol used with the GamePad."

I, for one, think that notion is just silly. We have a perfectly good web browser at our disposal, and I'm certainly not going to waste that potential. Now it is true that we can only use a limited amount of the GamePad's functionality from the web browser, it is still better than sitting around idly waiting for others to do the hacking.

And so, I present to you, my solution for GamePad input. I will update this post as I further develop it:

Current Progress: Full input support!
Next Step: Public Release...

Current Video:
 

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
Local web server, javascript/html page on the GamePad side, javascript/html page on the PC side, both ends connect to a node server through js, npapi plugin on the pc end, node server communicates to the PC js/html page, which communicates with the npapi plugin to emulate mouse activity and key presses :)
 
  • Like
Reactions: ddrrmm

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Local web server, javascript/html page on the GamePad side, javascript/html page on the PC side, both ends connect to a node server through js, npapi plugin on the pc end, node server communicates to the PC js/html page, which communicates with the npapi plugin to emulate mouse activity and key presses :)
You know, if you were to put this up on a public web server and then just throw in a couple of ads on the PC side of the webpage you might be able to get some cash out of this. ;)
 

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
You know, if you were to put this up on a public web server and then just throw in a couple of ads on the PC side of the webpage you might be able to get some cash out of this. ;)

I'm actually going to throw one or two non-intrusive ads on the PC side once I make a release. Tech-savvy individuals will be able to quickly remove them if they'd like, but it never hurts to help a fellow developer out.
 
  • Like
Reactions: Maxternal

SuzieJoeBob

NOT a New Member
Member
Joined
Dec 20, 2008
Messages
687
Trophies
0
XP
1,313
Country
United States
This is what I'm thinking after reading the first post:
fc78c9.jpg
 
  • Like
Reactions: Ray Lewis and asper

Ray Lewis

Banned!
Banned
Joined
Dec 30, 2012
Messages
1,518
Trophies
0
XP
419
Country
United States
So...use controller for pc via internet connection? Or, like a mouse? Not feeling well and seems creative but I would love love to use usb cable and hook controller to pc for emulator use. That would be my want;-)
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Just a thought with the virtual keyboard, if you're looking to cut any corners you could always (at least on Windows) just have it automatically open the already existing software keyboard on the PC and see if you could type with that. Not ideal, I know, but it could help for starters.

And I second Ray's desire for a PC gamepad emulation feature. (Not even sure if the web browser has access to the buttons and joysticks on the gamepad but that WOULD be nice.)
 

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
So far I am able to detect the following:

A Button (perfect behavior, down and up)
Left Stick (perfect 8-direction behavior)
D-Pad (perfect behavior, down and up, differentiates between Left stick and D-Pad)
B Button (Press only, hacky detection)

I'm currently working on the right stick, with minor success. It doesn't look like I'll be able to include full right stick support.

The plan is to complete a customizable application in which you can map each of the available buttons to any virtual key on your PC. This would allow you to control your mouse, use a virtual keyboard, or (for all of us gamers) map the Gamepad to certain buttons for use within emulators!

I'll keep you all updated. Cheers!
 

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
http://wiiubrew.org/wiki/Internet_Browser

lots of this has been doc'd and done long ago.

Thanks for the post, it has been very helpful. I didn't mean to offend by my project or anything. Like I mentioned above, I didn't know if it had been done before, so I started to do it myself.

Edit: Ohai thar, megazig. Nice to see a familiar face ;-)
 

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
I've completed full input support, and I've made it so the user sets up hotkeys on the PC end. I've added a video in the first post to demonstrate using the GamePad as an emulator controller.
 
  • Like
Reactions: Maxternal

vashgs

Well-Known Member
OP
Member
Joined
Feb 1, 2008
Messages
236
Trophies
0
XP
234
Country
United States
I've already attempted it using the one available streaming method for the Internet Browser (Apple's livehttp). Unfortunately, the segments don't load rapidly enough at a shorter length, and when the length of each segment is too long then the delay becomes massive and unusable in this situation. That basically exhausts my options for streaming the PC screen to the GamePad. I have one more option that I've thought about, but I haven't given it a shot yet. If I do decide to try it, I'll definitely post about it here.
 

Pattonfiend67

You're F'ng Out!
Banned
Joined
Oct 7, 2009
Messages
235
Trophies
0
XP
33
Country
United States
any update on this? i would be very interested in giving it a go soon... very excited for this. thanks for taking your time to do it!
 

Ray Lewis

Banned!
Banned
Joined
Dec 30, 2012
Messages
1,518
Trophies
0
XP
419
Country
United States
Yeah, this is great work. Mega pointed out a link where people had mapped something on this before. Sorry if I seemed to discount what you're working on. Very interested in seeing this come to fruition;-) My question would be of LAG. If playing an emulator, would there be lag with controller--->PC--->emulator? Oh, to clarify, I had a massive migraine when I commented previously and thought it was cool but hurt my brain trying to think on it even more. If there is no lag, and fully functional (lag like, it is playable with emulators) THEN this is amazing. Actually usable for all of us;-) Thanks for the work and the effort.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
    RedColoredStars @ RedColoredStars: The croissant crust is still available though, but not quite as good imo.