About Store Forum Documentation Contact



Post Reply 
Joypad additional buttons
Author Message
Houge Offline
Member

Post: #1
Joypad additional buttons
Dear Greg!

Can you please add support of additional buttons for joypads? smile
I have Razer Sabertooth joypad with 6 additional buttons (4 on the bottom like seesaw and 2 near Ls):
[Image: razer_sabertooth_02-610x421.jpg]
Everything works except those 6 additional buttons smile
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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Joypad additional buttons
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.
08-15-2014 03:43 AM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #3
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:

[Image: sabretoothbuttons.jpg]

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
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
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
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #5
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
Visit this user's website Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #6
RE: Joypad additional buttons
Sorry for my ignorance, those additional buttons are for macros only smile
Please close this thread.
08-18-2014 04:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply