Me funcionó el GAMEPAD ! ya funcionó bien con un control analógico y 8 botones.
Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature currently requires accessing the site using the built-in Safari browser.
Moyano Jonathan dijo:Me funcionó el GAMEPAD ! ya funcionó bien con un control analógico y 8 botones.
Moyano Jonathan dijo:tenés el emulador y el rom de ese juego como para probar.
0x05, 0x09, // usage page (buttons) Choose the “button” usage page
0x19, 0x01, // usage minimum (1) There are three buttons
0x29, 0x08, // usage maximum (8)
0x15, 0x00, // logical minimum (0) Each button is represented by one bit
0x25, 0x01, // logical maximum (1)
0x95, 0x08, // report count (8) Three reports, one bit each
0x75, 0x01, // report size (1)
0x81, 0x02, // input (data, variable, absolute)
0xC0, // end collection
0x05, 0x09, // usage page (buttons) Choose the “button” usage page
0x19, 0x01, // usage minimum (1) Para 10 botones (ejemplo)
0x29, 0x0a, // usage maximum (10)<<<<<<Cambio aqui
0x15, 0x00, // logical minimum (0) Each button is represented by one bit
0x25, 0x01, // logical maximum (1)
0x95, 0x0a, // report count (10) Three reports, one bit each<<<<<< y aqui
0x75, 0x01, // report size (1)
0x81, 0x02, // input (data, variable, absolute)
0xC0, // end collection