Skip to content

Commit

Permalink
Add Logitech F310 DInput driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaff committed Sep 29, 2017
1 parent c2392cf commit 7ea5829
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Logitech_F310.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[vid=0x046d,pid=0xc216]
VPAD_BUTTON_A = 0x04,0x20
VPAD_BUTTON_B = 0x04,0x40
VPAD_BUTTON_X = 0x04,0x10
VPAD_BUTTON_Y = 0x04,0x80

VPAD_BUTTON_PLUS = 0x05,0x20
VPAD_BUTTON_MINUS = 0x05,0x10
VPAD_BUTTON_HOME =

VPAD_BUTTON_L = 0x05,0x01
VPAD_BUTTON_R = 0x05,0x02

VPAD_BUTTON_STICK_L = 0x05,0x40
VPAD_BUTTON_STICK_R = 0x05,0x80

VPAD_BUTTON_ZL = 0x05,0x04
VPAD_BUTTON_ZR = 0x05,0x08

DPAD_MODE = DPAD_HAT
DPAD_MASK = 0x0F
VPAD_BUTTON_DPAD_N = 0x04,0x00
VPAD_BUTTON_DPAD_NE = 0x04,0x01
VPAD_BUTTON_DPAD_E = 0x04,0x02
VPAD_BUTTON_DPAD_SE = 0x04,0x03
VPAD_BUTTON_DPAD_S = 0x04,0x04
VPAD_BUTTON_DPAD_SW = 0x04,0x05
VPAD_BUTTON_DPAD_W = 0x04,0x06
VPAD_BUTTON_DPAD_NW = 0x04,0x07
VPAD_BUTTON_DPAD_Neutral = 0x08

VPAD_L_STICK_X = 0x00,0x80
VPAD_L_STICK_Y = 0x01,0x7F
VPAD_R_STICK_X = 0x02,0x80
VPAD_R_STICK_Y = 0x03,0x7F

VPAD_L_STICK_X_MinMax = 0x00,0xFF
VPAD_L_STICK_Y_MinMax = 0x00,0xFF
VPAD_R_STICK_X_MinMax = 0x00,0xFF
VPAD_R_STICK_Y_MinMax = 0x00,0xFF

PAD_COUNT = 0x01

0 comments on commit 7ea5829

Please sign in to comment.