Incidencia #24341

Allow POV joystick support for guitar/drums

Abrir Fecha: 2011-02-09 06:40 Última actualización: 2011-04-03 05:30

Informador:
Propietario:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
Ninguno
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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).

Ticket History (3/21 Histories)

2011-02-09 06:40 Updated by: billkwando
  • New Ticket "Allow POV joystick support for guitar/drums" created
2011-02-09 23:20 Updated by: yyagi
Comentario

"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入力非サポートなのは何故でしたっけ?

2011-02-10 15:37 Updated by: from
Comentario

POD hat入力非サポートなのは何故でしたっけ?

角度に関する仕様が不明確だったためです。
うちにあるジョイパッドだと8方向だったり、フライトシミュレーターコントローラとかだと360方向になったりもする…らしいです。

なので、入力に対応するには、

  • 「角度指定」ではなく「角度範囲指定」にしなければだめっぽい?
  • 何方向まで許容するのか?

などの決定が必要で、……まぁ要するにめんどくさかったからです。はい。(汗

2011-02-10 21:33 Updated by: None
Comentario

Translation?

2011-02-11 02:03 Updated by: yyagi
Comentario

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

  • To define the value "threshold degree" is nonsence. "degree-range" would be required.
  • How many "ways" should the DTXMania allow?

... ya, it's too troublesome to support :-)

2011-02-11 02:11 Updated by: billkwando
Comentario

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.

2011-02-11 02:15 Updated by: billkwando
Comentario

Or only support 4/8 way. :)

2011-03-09 01:51 Updated by: yyagi
Comentario

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....

2011-03-09 05:12 Updated by: billkwando
Comentario

Thanks yyagi!! :)

2011-03-10 03:24 Updated by: yyagi
Comentario

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.

2011-03-12 12:52 Updated by: yyagi
Comentario

billkwando,

Would you check the test version? tp://yyagi.com/DTXMania088_Test_POVsupported.zip

(only 4/8 ways are support.)

2011-03-12 14:28 Updated by: billkwando
Comentario

Yup! I'll check it out and let you know. :)

2011-03-22 02:05 Updated by: yyagi
  • Tipo Update from Bugs to Feature Requests
2011-03-22 02:44 Updated by: None
Comentario

Oh yeah, sorry for the delay. I will test this tonight, if it kills me.

2011-03-22 02:45 Updated by: billkwando
Comentario

says Billkwando

2011-03-22 23:39 Updated by: yyagi
Comentario

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)

2011-03-23 00:12 Updated by: billkwando
Comentario

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.

2011-03-24 03:32 Updated by: billkwando
Comentario

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!!!!!!

2011-03-30 02:04 Updated by: yyagi
Comentario

Oh, thanks! I'll include POV support in the next version.

2011-04-01 01:36 Updated by: yyagi
  • Componente Update from (Ninguno) to SlimDX
  • Tipo Update from Feature Requests to 仕様変更リクエスト
  • Resolución Update from Ninguno to Fixed
  • Estado Update from Open to Cerrado
  • Ticket Close date is changed to 2011-04-01 01:36
Comentario

I released 089 just now. It contains POV support. I close this ticket. Thanks.

2011-04-03 05:30 Updated by: yyagi
  • Componente Update from SlimDX to DTXMania

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar