Official HID to VPAD

Maschell Apr 25, 2016.

  1. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    Add deadzones to
     

    Attached Files:

  2. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    I already tried that but i dont know from where it reads the ini file, i presumed its that one. also i dont know what walues to set. ALSO, hid test doesnt show anything
     
  3. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    [vid=0x054c,pid=0x0268]
    [IgnoreDefault]
    VPAD_BUTTON_A = DS3_BUTTON_CIRCLE
    VPAD_BUTTON_B = DS3_BUTTON_CROSS
    VPAD_BUTTON_X = DS3_BUTTON_TRIANGLE
    VPAD_BUTTON_Y = DS3_BUTTON_SQUARE
    VPAD_BUTTON_MINUS = DS3_BUTTON_SELECT
    VPAD_BUTTON_PLUS = DS3_BUTTON_START
    VPAD_BUTTON_STICK_L = DS3_BUTTON_L3
    VPAD_BUTTON_STICK_R = DS3_BUTTON_R3
    DPAD_MODE = DS3_DPAD_MODE
    VPAD_BUTTON_LEFT = DS3_BUTTON_LEFT
    VPAD_BUTTON_RIGHT = DS3_BUTTON_RIGHT
    VPAD_BUTTON_UP = DS3_BUTTON_UP
    VPAD_BUTTON_DOWN = DS3_BUTTON_DOWN
    VPAD_L_STICK_X = DS3_STICK_L_X
    VPAD_L_STICK_Y = DS3_STICK_L_Y
    VPAD_R_STICK_X = DS3_STICK_R_X
    VPAD_R_STICK_Y = DS3_STICK_R_Y
    VPAD_BUTTON_L = DS3_BUTTON_L1
    VPAD_BUTTON_ZL = DS3_BUTTON_L2
    VPAD_BUTTON_R = DS3_BUTTON_R1
    VPAD_BUTTON_ZR = DS3_BUTTON_R2
    PAD_COUNT = 0x01

    Copy the above text into an empty .ini file and copy it to sd:wiiu/controller (the name of the file can be anything as long as it is an .ini file) and try again
     
    MetoMeto likes this.
  4. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    It still drifts (pic below)

    [​IMG]
     
  5. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    [vid=0x054c,pid=0x0268]
    [IgnoreDefault]
    VPAD_BUTTON_A = DS3_BUTTON_CIRCLE
    VPAD_BUTTON_B = DS3_BUTTON_CROSS
    VPAD_BUTTON_X = DS3_BUTTON_TRIANGLE
    VPAD_BUTTON_Y = DS3_BUTTON_SQUARE
    VPAD_BUTTON_MINUS = DS3_BUTTON_SELECT
    VPAD_BUTTON_PLUS = DS3_BUTTON_START
    VPAD_BUTTON_STICK_L = DS3_BUTTON_L3
    VPAD_BUTTON_STICK_R = DS3_BUTTON_R3
    DPAD_MODE = DS3_DPAD_MODE
    VPAD_BUTTON_LEFT = DS3_BUTTON_LEFT
    VPAD_BUTTON_RIGHT = DS3_BUTTON_RIGHT
    VPAD_BUTTON_UP = DS3_BUTTON_UP
    VPAD_BUTTON_DOWN = DS3_BUTTON_DOWN
    VPAD_L_STICK_X = DS3_STICK_L_X
    VPAD_L_STICK_Y = DS3_STICK_L_Y
    VPAD_R_STICK_X = DS3_STICK_R_X
    VPAD_R_STICK_Y = DS3_STICK_R_Y
    VPAD_L_STICK_X_DEADZONE = 0x06
    VPAD_L_STICK_Y_DEADZONE = 0x06
    VPAD_R_STICK_X_DEADZONE = 0x06 VPAD_R_STICK_Y_DEADZONE = 0x06
    VPAD_BUTTON_L = DS3_BUTTON_L1
    VPAD_BUTTON_ZL = DS3_BUTTON_L2
    VPAD_BUTTON_R = DS3_BUTTON_R1
    VPAD_BUTTON_ZR = DS3_BUTTON_R2
    PAD_COUNT = 0x01

    Now try this one
     
  6. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    i found the pid and vid...it is that one!

    now i see it in hid test...
     
    Last edited by MetoMeto, Jun 4, 2019
  7. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
  8. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    so the x axis is still drifting... let me fix that for you

    — Posts automatically merged - Please don't double post! —

    [vid=0x054c,pid=0x0268]
    [IgnoreDefault]
    VPAD_BUTTON_A = DS3_BUTTON_CIRCLE
    VPAD_BUTTON_B = DS3_BUTTON_CROSS
    VPAD_BUTTON_X = DS3_BUTTON_TRIANGLE
    VPAD_BUTTON_Y = DS3_BUTTON_SQUARE
    VPAD_BUTTON_MINUS = DS3_BUTTON_SELECT
    VPAD_BUTTON_PLUS = DS3_BUTTON_START
    VPAD_BUTTON_STICK_L = DS3_BUTTON_L3
    VPAD_BUTTON_STICK_R = DS3_BUTTON_R3
    DPAD_MODE = DS3_DPAD_MODE
    VPAD_BUTTON_LEFT = DS3_BUTTON_LEFT
    VPAD_BUTTON_RIGHT = DS3_BUTTON_RIGHT
    VPAD_BUTTON_UP = DS3_BUTTON_UP
    VPAD_BUTTON_DOWN = DS3_BUTTON_DOWN
    VPAD_L_STICK_X = DS3_STICK_L_X
    VPAD_L_STICK_Y = DS3_STICK_L_Y
    VPAD_R_STICK_X = DS3_STICK_R_X
    VPAD_R_STICK_Y = DS3_STICK_R_Y
    VPAD_L_STICK_X_DEADZONE = 0x10
    VPAD_L_STICK_Y_DEADZONE = 0x06
    VPAD_R_STICK_X_DEADZONE = 0x10
    VPAD_R_STICK_Y_DEADZONE = 0x06
    VPAD_BUTTON_L = DS3_BUTTON_L1
    VPAD_BUTTON_ZL = DS3_BUTTON_L2
    VPAD_BUTTON_R = DS3_BUTTON_R1
    VPAD_BUTTON_ZR = DS3_BUTTON_R2
    PAD_COUNT = 0x01

    first of all, i want to say sorry since i dont have any of the stuff you are using so i cant calculate these things fast. and i am on exam week, so you wont always get a fast response. anyway you can try with this file, if this doesnt work, i will do everything i can to help you, but it may take several attempts
     
    Last edited by Missingphy, Jun 4, 2019
  9. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    Oh, thank you very much! :)
    Please, dont stress, i understand, your exams are more important!

    im patient.

    im also learning by doing this, its interesting.
    so X is horisontal axes... i see.
    k made whag every button do in hid test, when they change walue. i i believe those are the ones that corespond to buttons.

    as for axes and analog...so i figured that left and up is 00 (the lovest value) on both sticks, and down and right is FF (the highest value).

    so i see you are changing X (horisontal axis from left to right. from 00 to 06...and now to 10.

    does that mean that youre reducing the space from center to left side? what about from center to right?
    Shouldnt X axis have 2 values for left and right side of im wrong?

    this seems a biit bomplicated, sorry if i spund noobish :P

    — Posts automatically merged - Please don't double post! —

    And thank you again for wanting to help. I apreciate thag a lot!
     
  10. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    That’s right! You are a fast learner. If you want you can play with the values by yourself so the job gets done faster. If you have any questions just ask me! And tell me if it worked
     
    Last edited by Missingphy, Jun 5, 2019
    MetoMeto likes this.
  11. emcintosh

    emcintosh Member

    Newcomer
    3
    Dec 4, 2016
    United Kingdom
    Yes, you can set up the buttons by looking in HID Test and finding which digit is changing. But as you’re using a popular standard controller, there are button names built into HID to Vpad (‘DS3_BUTTON_CIRCLE’ &c.).

    The dead zones work a bit differently - they’re not a value you’ll see directly in HID Test. They’re the minimum amount you need to move the stick away from centre before it should register anything. You’ve spotted that the values run from 00 to FF (these are hexadecimal numbers - the left column is worth 16x as much, and each digit can go beyond 9, up to F=15) The central value is 7F, and the dead zone is how far either side of this (so, no, there aren’t separate left and right ones to fill in) should register. So if your stick reads 71 when released, you’d need a dead zone of at least 0E (7F-71=E), and probably a bit more, e.g. 10 or 12, to be safe.

     
  12. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    First of all, thank you for joining the conversation, i appreciate any help and advice's! :)

    Ohh i see, i can imagine that visually kinda.

    It would be like (correct me if i'm wrong now...visual example) having a wooden plank that is 16 meters long and in order to balance it i need to hold it in the middle which is 8 meter mark.

    So.. if i cut the left side ONLY for, lets say, 4 meters the whole plank would be 12 meters now. So i don't need to cut the other side also in order to balance it, but i should just hold it at 6 meter mark in order to balance it and the plank would now be 6 meters long on each side. Did i got that right?

    Haha sorry for my primitive example but it feels more understandable that way to me to explain. x)

    YES, thank you very much!!! You helped me a lot!
    I'll write here anyway, and tell how am i doing and if i need any help with, thank you! ^^

    I'll reorder buttons such as A,B,X,Y for starters, to see if .ini file is ACTUALLY recognized...
    i mean if dead-zone, i play with, do anything anyway...
     
  13. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    EDIT: Yup, i rearanged the buttons and they correspond to exactly what i rearranged them to.
    So i guess i shall play with DeadZones now. Its pretty easy actually when you think about it. It looked pretty confusing at first! :D
    I hope i'll manage to fix the issue!

    EDIT _2: Yes, i managed to fix drifting :)
    I set all axes on both to 38 (26 HEX) thats 15% out of 255 (FF HEX) so 15% dead-zone works great for me! ^^
    thanks again both of you!!!



    SEE YOU NEXT MISSION!
    [​IMG]
     
    Last edited by MetoMeto, Jun 5, 2019
    Missingphy likes this.
  14. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    One question though...
    i noticed that HID controller is not working on a "Mario Kart 8", the game that came pre-installed on a console when its bought.

    Why is that?
     
  15. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    try pressing the tv button on your wii u gamepad or instead of emulating the gamepad, emulate the wii u pro controller
     
  16. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    Sure, i'll try! But..why is that?
     
  17. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    the tv button? no idea, but the thread says that if you press it it will work.
     
  18. emcintosh

    emcintosh Member

    Newcomer
    3
    Dec 4, 2016
    United Kingdom
    We’re cutting a section out of the middle rather than off the end.

    IFAIK there’s no reason one couldn’t program different dead zone sizes on either side, but if we’re only correcting small drifts, it’s not necessary.

    Here’s a different analogy - we’re putting a sticker in the middle of the circle you can move the joystick in, and saying ‘ignore any stick positions in here’. The x and y dead zone values are the size of the sticker.
     
    MetoMeto and Missingphy like this.
  19. Missingphy

    Missingphy Pokémon Master, Console Bricker, and more...

    Member
    6
    Oct 7, 2018
    Mexico
    hello guys. i am having a problem while playing smash bros. for wii u. when i select emulate a wii u pro controller, after after like 3 or 4 minutes of playing, the tv screen gets darker, i have already tried emulating the wii u gamepad, pressing tv on the real gamepad, and even turning gamepad display off, but none seems to be fixing it.
    however, moving the gamepad a little bit seems to fix the issue... for a while.
    image.
    tv screen when starting to play
    image.
    tv screen after playing for around 3 minutes


    i know you cannot appreciate it but how do i fix this? thanks!
     
    Last edited by Missingphy, Jun 22, 2019
  20. MetoMeto

    MetoMeto GBAtemp Regular

    Member
    2
    Dec 28, 2018
    Japan
    The same happenes to me while playing Zelda BotW while emulating pro controller for wiiU.

    I believe that emulationg wiiu gamepad doesnt have that issue.

    But thats not a fix, iiknow.

    Anyway, id id also like to know how to fix this...
     
Quick Reply
Draft saved Draft deleted