Any chances of getting force feedback support added to this repo? Specifically upload effect which is EVIOCSFF (0x80).
I am attempting to add it myself, but I am unfamiliar with IOCTL, so it isn't going great. Getting a bad address error when attempting to make the call.
func ioctlEVIOCSFF(fd uintptr, effect Effect) error {
code := ioctlMakeCode(ioctlDirWrite, 'E', 0x80, unsafe.Sizeof(effect))
return doIoctl(fd, code, unsafe.Pointer(&effect))
}