Allow POV joystick support for guitar/drums
"POV hat" is not supported in DTXMania. It is specifications. But I don't know why. (I'll ask FROM-san about it)
# Please forget release memo in 070 temporally...it seems to say that DTXMania supports POV hat.
FROMさん
POD hat入力非サポートなのは何故でしたっけ?
POD hat入力非サポートなのは何故でしたっけ?
角度に関する仕様が不明確だったためです。
うちにあるジョイパッドだと8方向だったり、フライトシミュレーターコントローラとかだと360方向になったりもする…らしいです。
なので、入力に対応するには、
などの決定が必要で、……まぁ要するにめんどくさかったからです。はい。(汗
Translation?
FROM said;
Why DTXMania don't support POV hat?
Because the POV specifications about the angle is not clear.
For exaple, I have a joypad which can handle only 8-ways. But I heard some devices like a flight simulator controllers can handle 360-degree-ways.
So, to suuport POV hat input, we have to consider that
... ya, it's too troublesome to support :-)
My suggestion would be to make any POV direction count as 1 input/button. Since it's a very specific case for the guitar controller, and nobody is likely to use a real flight stick for DTXMania, some support is better than none. Just my opinion, of course.
Or only support 4/8 way. :)
FROMさんへ。
試しに4/8軸限定でPOV-HATボタンをサポートできないかなと思って簡単にコード書きしてみたのですが・・・ 何か動作がおかしい。
BufferedInput=OFFの時は期待しているパッド入力値がとれるのですが、 ONの時はPOVを押していないときも常に0が返ってきます(つまり常に0度方向に入力があると見なしてしまう。)
これ、やっぱり、SlimDXの問題ですよねぇ・・・。ついに私もSlimDXハックの世界に足を踏み入れることになるのか。
(English translations:)
I tried to support POV-HAT input (limited to 4/8 ways), but the result is not good.
In case BufferInput=OFF, it's OK. But if it is ON, SlimDX always returns zero. (It means you always pushing "0-degree" POV button.)
I have a doubt that it's SlimDX issue. OMG, finally I have to hack SlimDX....
Thanks yyagi!! :)
I fixed SlimDX issue about POV in rev132.
So now I'm ready to modify DTXMania to support POV. Please give me a few days to support it.
billkwando,
Would you check the test version? tp://yyagi.com/DTXMania088_Test_POVsupported.zip
(only 4/8 ways are support.)
Yup! I'll check it out and let you know. :)
Oh yeah, sorry for the delay. I will test this tonight, if it kills me.
says Billkwando
If you have to downlaod test module, please try the alternative link:
tp://www2s.biglobe.ne.jp/~yyagi/temp/DTXMania088_Test_POVsupported.zip
Due to the massive earthquake in Japan, a power failure occurs everyday in Tokyo area. So my web server (yyagi.com) in my home doesn't work now. (I'll move my webservices into some VPS service soon)
Yeah, I didn't know if it was appropriate to mention the earthquake, but now that you bring it up...
Our thoughts and prayers are with you here in the USA, and we wish all of Japan the best!! We hope for a speedy recovery and repaired reactors, and we mourn the loss of life.
I forgot to tell you, I tested it last night, and the POV works fine!
You have to map it twice (once for Pick up, and once for Pick down) otherwise it only registers one way, but it's working!
Thanks!!!!!!
Oh, thanks! I'll include POV support in the next version.
I released 089 just now. It contains POV support. I close this ticket. Thanks.
Unless this has been fixed already, DTXMania does not recognize the "POV hat" function on joysticks when mapping keys. Since the Guitar Hero and Rock Band guitars map the "pick" as a POV, this prevents them from working (without a 3rd party app like Joy2Key).