Houge
Member
|
Joypad additional buttons
Dear Greg!
Can you please add support of additional buttons for joypads?
I have Razer Sabertooth joypad with 6 additional buttons (4 on the bottom like seesaw and 2 near Ls):
Everything works except those 6 additional buttons
I hope to make an mmo with joypads support (alternative to keyboard) and this feature would be very nice.
(This post was last modified: 08-14-2014 08:19 PM by Houge.)
|
|
08-14-2014 08:18 PM |
|
Esenthel
Administrator
|
RE: Joypad additional buttons
|
|
08-15-2014 03:43 AM |
|
Houge
Member
|
RE: Joypad additional buttons
(08-15-2014 03:43 AM)Esenthel Wrote: Hi
Joypad input is handled here:
https://github.com/Esenthel/EsenthelEngi...Joypad.cpp
void Joypad::update()
I've tested that on Logitech Rumblepad 2 which has similar buttons and all of them worked fine.
It doesn't seem to have similar buttons. I mean additional 6, look:
M1, M2 and U-like buttons on the bottom.
There seems no handle of these buttons in the code.
|
|
08-15-2014 06:29 AM |
|
Esenthel
Administrator
|
RE: Joypad additional buttons
OK now I see.
You can investigate all 'dijs' values from the source to see if any of them changes.
But if DirectInput doesn't detect them, then I guess they would need some dedicated API.
|
|
08-15-2014 06:47 AM |
|
Houge
Member
|
RE: Joypad additional buttons
(08-15-2014 06:47 AM)Esenthel Wrote: OK now I see.
You can investigate all 'dijs' values from the source to see if any of them changes.
But if DirectInput doesn't detect them, then I guess they would need some dedicated API.
Ok thanks i'll try it!
|
|
08-15-2014 07:01 AM |
|
Houge
Member
|
RE: Joypad additional buttons
Sorry for my ignorance, those additional buttons are for macros only
Please close this thread.
|
|
08-18-2014 04:27 PM |
|