Skip to content

Support for creating dummy DeviceIds and WindowIds #330

Closed

Description

@Xaeroxe

I have a rather large set of code that processes winit events and stores input state, as well as generating input events for key bindings. I'd like to add test cases to it to make sure the input handler always works but I can't generate winit::Events in a headless environment because DeviceId and WindowId are opaque types. It'd be nice to be able to generate dummy types for these based on some integer.

Activity

  1. added
    S - api
    S - enhancement
    on Oct 24, 2017
  2. added
    H - help wanted
    D - easy
    P - normal
    on May 6, 2018
  3. added a commit that references this issue on Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    D - easyH - help wantedP - normalS - apiS - enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions