port_inhibit_ffb - Disable FFB on a port
void port_inhibit_ffb(uint8 port);
Disable Force Feedback (FFB - controller vibration) on the port specified by the argument.
While the script is loaded and running, this command overwrites the FFB settings configured by the user. |
Table 1 | |
Index | Port Designator |
---|---|
1 | PORT_USB_A |
2 | PORT_USB_B |
0 | PORT_USB_C |
3 | PORT_USB_D |
4 | PORT_BT_A |
5 | PORT_BT_B |
No value is returned.
init { // Disable FFB on all ports port_inhibit_ffb(PORT_USB_A); port_inhibit_ffb(PORT_USB_B); port_inhibit_ffb(PORT_USB_C); port_inhibit_ffb(PORT_USB_D); port_inhibit_ffb(PORT_BT_A); port_inhibit_ffb(PORT_BT_B); }