USB Gamepads - please help


Author Message
ManiB
Senior Member

Joined: 12/10/2019
Location: Germany
Posts: 141
Posted: 10:21am 28 Feb 2025      

  matherp said  
  Quote  OK, these are the results of my THEGAMEPAD:


Looks like you are releasing the button before pressing the key on the keyboard - did you use a USB keyboard connected to the Pico? If so please repeat using a computer console session and only have the gamepad plugged into the Pico - nothing else. The monitor log shows the device is responding but the output is no use.


Ohh sorry, I used it wrong and pressed a key on the keyboard after releasing the buttons. Anyone who can read has a clear advantage ;)

OK, these are the correct results of my THEGAMEPAD:

{
    .vid=0x1C59,.pid=0x26,
   .b_R1={6,1},
   .b_START={6,3},
   .b_HOME={255,0},
   .b_SELECT={6,2},
   .b_L1={6,0},
   .b_DOWN={1,192},
   .b_DOWN={2,192},
   .b_DOWN={3,192},
   .b_DOWN={4,192},
   .b_RIGHT={0,192},
   .b_UP={1,64},
   .b_UP={2,64},
   .b_UP={3,64},
   .b_UP={4,64},
   .b_LEFT={0,64},
   .b_R2={255,0},
   .b_X={5,7},
   .b_A={5,6},
   .b_Y={5,4},
   .b_B={5,5},
   .b_L2={255,0},
   .b_TOUCH={255,0}
},
gamepad configure &H1C59,&H26,6,1,6,3,255,0,6,2,6,0,1,192,2,192,3,192,4,192,0,192,1,64,2,64,3,64,4,64,0,64,255,0,5,7,5,6,5,4,5,5,255,0,255,0
>

Edited 2025-02-28 20:25 by ManiB