Homebrew [RELEASE] drc-test: A homebrew to test/read/write values on the WiiU Gamepad

Pokes303

Member
OP
Newcomer
Joined
May 6, 2019
Messages
12
Trophies
0
XP
303
Country
United Kingdom
I made a WiiU homebrew to test the WiiU Gamepad (DRC) and read/write some hidden or unknown values from de VPAD and VPADBASE libraries

All of the values are indexed on different menus:
  • Buttons/Joysticks
  • Screen/Touchscreen
  • Gyroscope
  • Accelerometer
  • Direction
  • Angle
  • Magnetometer
  • Volume
  • Battery
  • Vibration
  • Gamepad Sensor Bar
  • Gamepad BASE
This homebrew can be launched on HBL or installed as a channel into the HOME Menu

Source code: https://github.com/Pokes303/drc-test
Latest release (HBL and CHANNEL): https://github.com/Pokes303/drc-test/releases

Some screenshots:
FfS6NMr.jpg

A3ZbkXf.jpg

dO0UlvX.jpg

Any suggestions are received. Have fun!
 

tqhoang

Active Member
Newcomer
Joined
Feb 3, 2017
Messages
34
Trophies
0
Age
54
XP
588
Country
United States
This app is very useful to test used gamepads. Thank you!

Just a few things to mention:
  1. [Cosmetic Fix] In the Virbration Test, you have motor "length" spelled as "lenght". In main.cpp, there are in 10 occurrences.
  2. [Bug Fix] In the Vibration Test, if you go left and make the length value 4GB (UINT_MAX), the hex_tostring() returns the error string "too few digits". You're probably getting a signed-integer to overflow in the variable "div". Perhaps even limit the range of the values of the custom length?
 
P

pasc

Guest
Nice to see more Wii U homebrew.

I just wish a 3DS Homebrew existed to fake a gamepad...

DRC-Sim for Ubuntu is nice... but not exactly..... lag free.

Gamepad for 70€ pffft yeah. (And Ninty isn't being better about it) Dang.
Reminds of the Gameboyplayer & Startupdisk situation... A controller that is worth more than the console itself... wat.
Stupid supply and demand



BTW: Is the magnetometer used for them amiibo abominations ? (Wait... isn't utilizing NFC ?)
 
Last edited by ,
  • Like
Reactions: Pokes303

Pokes303

Member
OP
Newcomer
Joined
May 6, 2019
Messages
12
Trophies
0
XP
303
Country
United Kingdom
This app is very useful to test used gamepads. Thank you!

Just a few things to mention:
  1. [Cosmetic Fix] In the Virbration Test, you have motor "length" spelled as "lenght". In main.cpp, there are in 10 occurrences.
  2. [Bug Fix] In the Vibration Test, if you go left and make the length value 4GB (UINT_MAX), the hex_tostring() returns the error string "too few digits". You're probably getting a signed-integer to overflow in the variable "div". Perhaps even limit the range of the values of the custom length?

Thanks for the answer! I fixed the two points on the latest release [https://github.com/Pokes303/drc-test/releases/latest]. The "too few digits" error was caused by a mistake declaring the variable as "uint32_t" that should be "uint8_t", and causing an overflow on the vibration output too

Nice to see more Wii U homebrew.

I just wish a 3DS Homebrew existed to fake a gamepad...

DRC-Sim for Ubuntu is nice... but not exactly..... lag free.

Gamepad for 70€ pffft yeah. (And Ninty isn't being better about it) Dang.
Reminds of the Gameboyplayer & Startupdisk situation... A controller that is worth more than the console itself... wat.
Stupid supply and demand



BTW: Is the magnetometer used for them amiibo abominations ? (Wait... isn't utilizing NFC ?)

Faking the WiiU Gamepad from the 3ds it's possible, but it would be very tricky to do it directly.
If you want to do it, I think you can send the 3ds inputs to a PC, and then use Hid-To-VPAD

And for the last, the amiibo figures have NFC tags that are read from the NFC module on the left-bottom of the WiiU Gamepad, and the Magnetometer can detect magnetic fields near ir.

Have fun!
 
  • Like
Reactions: tqhoang

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,632
Trophies
1
Age
36
XP
5,473
Country
Germany
got error 160-0103 and a brick after using this tool, thanks!
I had a quick look at the sources: Just starting the tool, reading the message (that it's highly experimental, that it might brick your console and that you do everything on your own risk) and exiting shouldn't cause any harm. So what exactly did you do?
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,232
Country
Brazil
I had a quick look at the sources: Just starting the tool, reading the message (that it's highly experimental, that it might brick your console and that you do everything on your own risk) and exiting shouldn't cause any harm. So what exactly did you do?
160-0103 is an error in the internal storage (MLC) so that guy is just trolling
 

Pin1988

Well-Known Member
Newcomer
Joined
Mar 4, 2022
Messages
66
Trophies
0
Age
33
Location
Germany
XP
383
Country
Germany
Dude, this is pure gold for people buying used consoles on eBay and wanting to make sure that the gamepad works completely fine. Rarely seen anything with so many (useful!) tests to run!

This should be Gold Standard for testing WiiU Gamepads!

GREAT WORK!
 

tqhoang

Active Member
Newcomer
Joined
Feb 3, 2017
Messages
34
Trophies
0
Age
54
XP
588
Country
United States
Hey, I just used your drc-test app again. It's been great to validate a used gamepad. Thanks again!

Just wanted to report a very minor cosmetic bug. On the main screen, you have an overlap of text in the lower right corner. It says "Press HOME to exit anytime" and "Press B to exit" on top of each other instead of on separate lines.
 
  • Like
Reactions: Pin1988

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr