Skip to content

Feature Request - Force Feedback support #11

@Speshl

Description

@Speshl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions