Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions 8bitdo.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[vid=0x2DC8,pid=0x6012]
Comment thread
SnackForever marked this conversation as resolved.
// USE B + HOME when starting the controller

// ==============================
// DPAD (Hat Mode - Byte 0x01)
// ==============================
DPAD_MODE = DPAD_HAT
DPad_MASK = 0x0F
VPAD_BUTTON_DPAD_N = 0x01,0x00
VPAD_BUTTON_DPAD_NE = 0x01,0x01
VPAD_BUTTON_DPAD_E = 0x01,0x02
VPAD_BUTTON_DPAD_SE = 0x01,0x03
VPAD_BUTTON_DPAD_S = 0x01,0x04
VPAD_BUTTON_DPAD_SW = 0x01,0x05
VPAD_BUTTON_DPAD_W = 0x01,0x06
VPAD_BUTTON_DPAD_NW = 0x01,0x07
VPAD_BUTTON_DPAD_Neutral = 0x01,0x0F

// ==============================
// STICK GAUCHE (Bytes 0x02 & 0x03)
// ==============================
VPad_L_Stick_X = 0x02,0x7F
VPad_L_Stick_X_MinMax = 0x00,0xFF
VPad_L_Stick_X_Deadzone = 0x10

VPad_L_Stick_Y = 0x03,0x7F
VPad_L_Stick_Y_MinMax = 0x00,0xFF
VPad_L_Stick_Y_Deadzone = 0x10
VPad_L_Stick_Y_Invert = true

// ==============================
// STICK DROIT (Bytes 0x04 & 0x05)
// ==============================
VPad_R_Stick_X = 0x04,0x7F
VPad_R_Stick_X_MinMax = 0x00,0xFF
VPad_R_Stick_X_Deadzone = 0x10

VPad_R_Stick_Y = 0x05,0x7F
VPad_R_Stick_Y_MinMax = 0x00,0xFF
VPad_R_Stick_Y_Deadzone = 0x10
VPad_R_Stick_Y_Invert = true

// ==============================
// BOUTONS PRINCIPAUX ET BUMPERS (Byte 0x08)
// Correction : Disposition Nintendo
// ==============================
VPAD_BUTTON_B = 0x08,0x01 // Bouton du bas
VPAD_BUTTON_A = 0x08,0x02 // Bouton de droite
VPAD_BUTTON_Y = 0x08,0x08 // Bouton de gauche
VPAD_BUTTON_X = 0x08,0x10 // Bouton du haut

VPAD_BUTTON_L = 0x08,0x40 // LB / L1
VPAD_BUTTON_R = 0x08,0x80 // RB / R1

// ==============================
// BOUTONS SYSTEME, TRIGGERS ET CLICS (Byte 0x09)
// ==============================
VPAD_BUTTON_ZL = 0x09,0x01 // LT fin de course
VPAD_BUTTON_ZR = 0x09,0x02 // RT fin de course

VPAD_BUTTON_MINUS = 0x09,0x04 // Select
VPAD_BUTTON_PLUS = 0x09,0x08 // Start
VPAD_BUTTON_HOME = 0x09,0x10 // Home
VPAD_BUTTON_STICK_L = 0x09,0x20 // L3
VPAD_BUTTON_STICK_R = 0x09,0x40 // R3
Loading