Skip to content

SDL_EVDEV_Init() called unconditionally #13137

Closed as not planned
Closed as not planned
@stsp

Description

@stsp

Some video subsystems, eg
KMSDRM_VideoInit(), call to
SDL_EVDEV_Init() unconditionally.
I am using SDL_InitSubSystem(SDL_INIT_VIDEO),
but its still called, disregarding
the missing SDL_INIT_EVENTS.

The actual problem is that
SDL_EVDEV_kbd_init() does a
few ioctls, eg
ioctl(kbd->console_fd, KDSKBMODE, K_UNICODE);,
which, for instance, unsets the
previously configured (by an app)
RAW kbd mode.

Please make sdl to not touch
any kbd settings if SDL_INIT_EVENTS
was not requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions