inukaze |
08-03-2022 04:33 PM |
Well i'm trying with the follow :
Quote:
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: AT Translated Set 2 keyboard
/dev/input/event3: ImPS/2 Generic Wheel Mouse
/dev/input/event4: Twin USB Joystick
/dev/input/event5: Twin USB Joystick
/dev/input/event6: HDA NVidia HDMI/DP,pcm=3
/dev/input/event7: HDA NVidia HDMI/DP,pcm=7
/dev/input/event8: HDA NVidia HDMI/DP,pcm=8
/dev/input/event9: HDA NVidia HDMI/DP,pcm=9
/dev/input/event10: HDA NVidia Rear Mic
/dev/input/event11: HDA NVidia Line
/dev/input/event12: HDA NVidia Line Out
Select the device event number [0-12]: 4
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x810 product 0x1 version 0x110
Input device name: "Twin USB Joystick"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 288 (BTN_TRIGGER)
Event code 289 (BTN_THUMB)
Event code 290 (BTN_THUMB2)
Event code 291 (BTN_TOP)
Event code 292 (BTN_TOP2)
Event code 293 (BTN_PINKIE)
Event code 294 (BTN_BASE)
Event code 295 (BTN_BASE2)
Event code 296 (BTN_BASE3)
Event code 297 (BTN_BASE4)
Event code 298 (BTN_BASE5)
Event code 299 (BTN_BASE6)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 127
Min 0
Max 255
Flat 15
Event code 1 (ABS_Y)
Value 127
Min 0
Max 255
Flat 15
Event code 2 (ABS_Z)
Value 127
Min 0
Max 255
Flat 15
Event code 5 (ABS_RZ)
Value 127
Min 0
Max 255
Flat 15
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 21 (EV_FF)
Event code 80 (FF_RUMBLE)
Event code 81 (FF_PERIODIC)
Event code 88 (FF_SQUARE)
Event code 89 (FF_TRIANGLE)
Event code 90 (FF_SINE)
Event code 96 (FF_GAIN)
Properties:
Testing ... (interrupt to exit)
Event: time 1659547516.440034, type 3 (EV_ABS), code 2 (ABS_Z), value 128
Event: time 1659547516.440034, type 3 (EV_ABS), code 5 (ABS_RZ), value 128
Event: time 1659547516.440034, type 3 (EV_ABS), code 0 (ABS_X), value 128
Event: time 1659547516.440034, type 3 (EV_ABS), code 1 (ABS_Y), value 128
Event: time 1659547516.440034, -------------- SYN_REPORT ------------
|
Ok i notice the device are :
Quote:
/dev/input/event4: Twin USB Joystick
/dev/input/event5: Twin USB Joystick
|
Well this USB Adapter just have a one PlayStation 2 Controller Plug. (I think the another just was remove before was making this adapter). i really prefer appear just one. becuase just have one connector.
Code:
fftest /dev/input/event4
Quote:
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Device /dev/input/event4 opened
Features:
* Absolute axes: X, Y, Z, RZ, Hat 0 X, Hat 0 Y,
[27 00 03 00 00 00 00 00 ]
* Relative axes:
[00 00 ]
* Force feedback effects types: Periodic, Rumble, Gain,
Force feedback periodic effects: Square, Triangle, Sine,
[00 00 00 00 00 00 00 00 00 00 03 07 01 00 00 00 ]
* Number of simultaneous effects: 16
Setting master gain to 75% ... OK
Uploading effect #0 (Periodic sinusoidal) ... OK (id 0)
Uploading effect #1 (Constant) ... Error: Invalid argument
Uploading effect #2 (Spring) ... Error: Invalid argument
Uploading effect #3 (Damper) ... Error: Invalid argument
Uploading effect #4 (Strong rumble, with heavy motor) ... OK (id 1)
Uploading effect #5 (Weak rumble, with light motor) ... OK (id 2)
Enter effect number, -1 to exit
0
Now Playing: Sine vibration
Enter effect number, -1 to exit
1
Now Playing: Constant Force
Enter effect number, -1 to exit
2
Now Playing: Spring Condition
Enter effect number, -1 to exit
3
Now Playing: Damping Condition
Enter effect number, -1 to exit
4
Now Playing: Strong Rumble
Enter effect number, -1 to exit
5
Now Playing: Weak Rumble
Enter effect number, -1 to exit
-1
Stopping effects
|
Sine vibration work
Strong Rumble work
Umm why program like PCSX, PCSX2, RetroArch can't use the Rumble ?
|