Build update

This commit is contained in:
Francisco Hodge 2023-01-31 22:03:57 +00:00
parent c3fc9192fa
commit 4dd493ea73
5 changed files with 14 additions and 6 deletions

View File

@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v3.5.18
* simple-keyboard v3.5.19
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -225,6 +225,14 @@ export interface KeyboardOptions {
* Retrieves all inputs
*/
onChangeAll?: (inputObj: KeyboardInput, e?: MouseEvent) => any;
/**
* Retrieves the pressed key
*/
onKeyPress?: (button: string, e?: MouseEvent) => any;
/**
* Retrieves the released key
*/
onKeyReleased?: (button: string, e?: MouseEvent) => any;
/**
* Module options can have any format
*/