Skip to content

A program to test Winit's keyboard input implementation

Notifications You must be signed in to change notification settings

maroider/winit_keyboard_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Winit Keyboard Tester

This is a program I made in order to test implementations of #753.

It prints nicely-formatted markdown tables. You can paste those into comments on GitHub which hopefully makes it easier to communicate about and understand bugs and qurks in the implementation as well as the platforms.

How to use

Clone

Clone this repository and Winit's repository into adjacent folders.

parent
├── winit
└── winit_keyboard_tester

Alternatively, you could adjust this crate's Cargo.toml to conform to your preferred folder structure.

Build & run

General

For most platforms, building the program with cargo build should be sufficient.

WASM

First, you should install wasm-bindgen-cli by running cargo install wasm-bindgen-cli.

You can then use one of the build-web scripts.

Use

When all keys have been released, the program should automatically terminate the current table and begin a new one after a couple of seconds. The current table can also be terminated by pressing the middle mouse button.

When the current table is empty, the middle mouse button can be used to switch between manual and automatic mode. Manual mode is indicated in the title bar.

Indication of "manual mode" does not work on WASM as of yet.

You can reset dead key sequences on Windows and Linux by pressing the right mouse button.

About

A program to test Winit's keyboard input implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages