Matris
My1 Jun 7, 2016 @ 11:49am
Controller Settings
I found a small problem for setting up my controller.

I have a Dualshock 4 connected to my PC as controller and the game will not let me assign the d-pad to the arrows because L and R2 with the X-Rotation and Y-Rotation axis being on minimum as default most things I try to set up seemingly get "blocked out" by that.
is there some way to set the d-pad as primary controls for the controller?

analog sticks for main control does not make a lot of sense in this type of game
< >
Showing 1-15 of 25 comments
leaghorn  [developer] Jun 7, 2016 @ 4:15pm 
I'm not sure I understand your problem. L2 and R2 are currently assigned as X Axis and Y Axis in gamepad settings? And you cannot reassign Axis settings to D-Pad? Can you assign any analog stick to any Axis? maybe the PS4 D-Pad is not recognized as Axis but as separate buttons. Can you try to assign any of the D-Pad directions to Action/Cancel/Rotate/Next Track? If it work that would mean that the D-Pad is recognized as Buttons not Axis.
My1 Jun 8, 2016 @ 1:43am 
I think you get me a bit wrong.
the d-Pad itself does work, but that's not the point.
let me explain with this picture:
https://www.dropbox.com/s/qrdap40et39xajw/DS4.png?dl=0
as most people know the neutral point of any axis is usually considered as the middle which hasnt been wrong for a very long time, but the xbox one controller in Windows 10 (or with the wireless stick in win7/8) (when using it with directinput) and the DS4 in General have their L2 and R2 buttons in a way that the negative maximum is their "neutral" point. (except that the xbone uses Z and ZR for LR2 and DS4 uses XR and YR)

the most reasonable reason on why I could rebind the arrows to the left stick would probably be that the X and Y axis probably have a higher priority when recognizing multiple things at the same time.

problem comes up that most games recognize and axis as soon as it is not in center (or a certain tolerance from that) which can lead to problems with controllers use use the full axis for one thing instead of just half the axis.

so the fact that for a very long time middle=neutral has become a problem with those controllers.

one way to go around that would be not recognizing any axis/button/etc that alsready HAS BEEN in that state before the recognition even began
so when you click on your arrow or whatever to rebind it, first check the state of the controller now and then check for changes.
Last edited by My1; Nov 5, 2016 @ 6:53am
leaghorn  [developer] Jun 8, 2016 @ 3:26am 
Ohhh... I see. I think I get it. So anytime you want to rebind any of the axis, before you even try to move/press anything it already gets rebinded to L2/R2 because they are always -1 or +1. That's weird. And a though one. Like you said the workaround it is to detect not the +/- 1 position, but the difference in position. That's gonna be tricky, but I'll look into that.
My1 Jun 8, 2016 @ 3:29am 
well I could rebind to the sticks because probably they have a higher priority on the "who gets it when simultaneous"
leaghorn  [developer] Jun 8, 2016 @ 7:32am 
Can you rebind the Axis controls in Gamepad settings to anything or does it instantly rebind it to these L2/R2 before you can press anything?

I don't have a PS4 so I'm not able to test it myself. It works no problem with my PS2 gamepad and also with X360 gamepad. I will try to get PS4 gamepad and try it.
My1 Jun 8, 2016 @ 8:11am 
well for the x360 gaamepad it's obvious why it does work. when you check the controller settings window of you controller then you can see that the x360 controller uses the Z axis for both L2 and R2. I dont know how the PS2 controller acts on PC, because, well I didnt even know that thing even works on PC, because well different connector etc.
and well UNLESS I already hold the left stick (which has lower axis IDs) it instantly rebinds onto the axis as soon as I select it.

by the way is there (for the time being) a way to manually manipulate the options (maybe the config file is human readable, and I could edit it, whatever I dont know)
leaghorn  [developer] Jun 8, 2016 @ 12:40pm 
I use simple $2 usb adapter to play with my PS2 gamepad on PC.

About the rebinding problem, you're right. I'm 99% positive that's why it allows you to rebind one Axis but not the other. Different ID, and some are checked before others.

You can change the Axis config manually. The config file is located here:
<steam>/common/Matris/matris_Data/save/settings.sav
you can open this file in notepad and change the axis. Just edit the number in line 12 and 13 by the "Axis" word. There must be space between Axis and number. Number from 1-20, although you dont have to try all 20, only these higher than the axis rebinded by these L2/R2.

I'm working on a Fix as we speak. In game graphics settings and this fix will be ready by friday ;)
My1 Jun 8, 2016 @ 6:15pm 
well okay, but I dont wanna use an axis but I wanna use the plain old d-pad I dont think that even is any kind of axis.
leaghorn  [developer] Jun 9, 2016 @ 10:36am 
Originally posted by My1:
well okay, but I dont wanna use an axis but I wanna use the plain old d-pad I dont think that even is any kind of axis.

It is axis. If it wasn't axis you could assign any direction to Action/Cancel/etc. Anyway, I already fixed that and I'll add an update tomorrow (+ in-game Graphics settings).
My1 Jun 9, 2016 @ 9:48pm 
okay, never knew that D-pad also is an axis.
cant wait for the update, thanks.
Last edited by My1; Jun 9, 2016 @ 9:48pm
leaghorn  [developer] Jun 10, 2016 @ 12:47pm 
Originally posted by My1:
okay, never knew that D-pad also is an axis.
cant wait for the update, thanks.

Game updated. Could you check if it solves your gamepad rebinding problem?
My1 Jun 10, 2016 @ 11:08pm 
if you exclude the part that my D-Pad up/down (axis 9) is inverted is inverted, it seems to work.
I'll try with another controller but maybe the d-pad y- "axis" works different than the rest, a friend had a similar problem in a software he was making.

an idea to do something about that is that when you hit up or down for recognition you dont also register the axis but also the direction.

on my other controller dpad up/down becomes axis 7 and also is inverted.
Last edited by My1; Jun 10, 2016 @ 11:38pm
leaghorn  [developer] Jun 14, 2016 @ 6:39am 
Originally posted by My1:
an idea to do something about that is that when you hit up or down for recognition you dont also register the axis but also the direction.

on my other controller dpad up/down becomes axis 7 and also is inverted.

hmmm... thats weird. I checked my PS2 gamepad and there is ANALOG button on PS2 gamepad which turns on/off analog nobs. If it's off the analog nobs are disabled and the D-Pad is recognized properly Axis 1 and 2 (not inverted) but when I turn it on analog nobs are enabled and left nob is now Axis 1 and 2 but D-Pad is now inverded (and recognized as different axis).

I will look into that.
My1 Jun 14, 2016 @ 8:11am 
maybe you could check how your controller behaves in the controller settings video I shotted above, maybe if analog off the d-pad acts as stick, albeit digital

as I said one of the best ways could be probably to check the direction as well, that way it would recogniz if its inverted.
leaghorn  [developer] Jun 14, 2016 @ 11:28am 
Yes, that's the obvious solution to the problem but because my current mechanics is not that easy to implement. But I will find a way to work around it.
< >
Showing 1-15 of 25 comments
Per page: 1530 50