Cargo Features

wasm_keyboard has no features set by default.

[dependencies]
wasm_keyboard = { version = "0.1.1", features = ["keypress"] }
keypress

Enables keypress of wasm_keyboard_macros

Affects wasm_keyboard::KeyHandler.handle_keypress, wasm_keyboard::KeyboardHandler.handle_keypress