Project64 Forums

Project64 Forums (http://forum.pj64-emu.com/index.php)
-   Open Discussion (http://forum.pj64-emu.com/forumdisplay.php?f=9)
-   -   Shunyuan's Directinput plugin 1.0 (http://forum.pj64-emu.com/showthread.php?t=4017)

shunyuan 22nd August 2013 11:51 AM

Shunyuan's Directinput plugin 1.0
 
3 Attachment(s)
---------------------------------
Shunyuan's DirectInput plugin v1.2
---------------------------------

* Zilmar's controller plugin spec #1.0.
* use DirectInput8 for input driver.
* support gamepad and keyboard as input devices.
* rumble pack support (but only works for PJ64 1.7 and latter)
* real N64 range support
* force feedback configuration


ShunyuanDI.cpp

By Shunyuan (shunyuan.chou@gmail.com)
2013/08/22

--------
History:
--------
v1.2
* fix a rumble pack timing error
(run RR64 on PJ64 2.1 with rumble pack support to find out the difference)

v1.1
* add force feedback configuration dialog

v1.0
* the first release.


https://lh3.googleusercontent.com/-L...rol_config.png

https://lh5.googleusercontent.com/-m...20Feedback.png

-----------------
my other plugins:
-----------------
HleAudio: Auido plugin with XAudio2 + DirectSound driver support
SoftGraphic: graphics plugin use mess rdp software rendering
GfxWrapper: to use Jabo's Direct3D8 v1.7.0.57-ver5 with Project64 1.6

Zera 23rd August 2013 01:35 AM

Very nice. I actually have a Rumblepad 2, so this might come in handy. If I were to suggest something, it would be two different buttons assignment for the same N64 controller button (for example, 2nd analog up and button 4 for C up). This would be useful considering the problematic layout of the N64 controller. No idea if it's possible though.

HatCat 23rd August 2013 01:52 AM

Very easy to do; in fact N-Rage 2.x already applies this.

retroben 23rd August 2013 05:20 AM

On N-Rage,I can set any keyboard key to a macro setting that points to multiple controller buttons so that I can exit battles in smash bros. by setting this macro to A+B+Z+R.

I am using my keyboard's "Y" as the macro activator.

You can also set a macro key to a button to
use rapid-fire which will help anyone beat Canary Mary.

shunyuan 24th August 2013 05:40 AM

Quote:

Originally Posted by Zera (Post 49534)
Very nice. I actually have a Rumblepad 2, so this might come in handy. If I were to suggest something, it would be two different buttons assignment for the same N64 controller button (for example, 2nd analog up and button 4 for C up). This would be useful considering the problematic layout of the N64 controller. No idea if it's possible though.

Yes, it is possible, one way is to allow each button has two input definitions, the other way is to add another macro button to bind to N64 input.

Quote:

Originally Posted by retroben (Post 49536)
On N-Rage,I can set any keyboard key to a macro setting that points to multiple controller buttons so that I can exit battles in smash bros. by setting this macro to A+B+Z+R.

I am using my keyboard's "Y" as the macro activator.

You can also set a macro key to a button to
use rapid-fire which will help anyone beat Canary Mary.

Yes, it is a good idea.

Zera 24th August 2013 11:59 AM

Quote:

Originally Posted by shunyuan (Post 49552)
Yes, it is possible, one way is to allow each button has two input definitions, the other way is to add another macro button to bind to N64 input.

Two input definitions would be ideal for me :)

shunyuan 27th August 2013 10:46 AM

Quote:

Originally Posted by BatCat (Post 49535)
Very easy to do; in fact N-Rage 2.x already applies this.

https://encrypted-tbn1.gstatic.com/i...JPo0k4NGvWhCnA

shunyuan 28th August 2013 04:46 PM

v1.1 released.
* add force feedback configuration dialog

https://lh5.googleusercontent.com/-m...20Feedback.png

HatCat 28th August 2013 09:34 PM

Quote:

Originally Posted by shunyuan (Post 49610)

http://www.youtube.com/watch?v=UGuaQJqV3zQ

shunyuan 9th September 2013 02:52 PM

v1.2 released.
--------------
- Fix the rumble pack timing error
(run RR64 on PJ64 1.7 or 2.x with rumble pack support to find out the differences)


All times are GMT. The time now is 03:13 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.