Build update

This commit is contained in:
Francisco Hodge
2023-01-19 00:51:34 +00:00
parent 418e890b2d
commit 9ace69a5db
5 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v3.5.12
* simple-keyboard v3.5.13
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
+2 -2
View File
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
+6 -5
View File
@@ -9,16 +9,17 @@ declare class PhysicalKeyboard {
* Creates an instance of the PhysicalKeyboard service
*/
constructor({ dispatch, getOptions }: PhysicalKeyboardParams);
handleHighlightKeyDown(event: KeyboardEvent): void;
handleHighlightKeyUp(event: KeyboardEvent): void;
handleHighlightKeyDown(e: KeyboardEvent): void;
handleHighlightKeyUp(e: KeyboardEvent): void;
/**
* Transforms a KeyboardEvent's "key.code" string into a simple-keyboard layout format
* @param {object} event The KeyboardEvent
* @param {object} e The KeyboardEvent
*/
getSimpleKeyboardLayoutKey(event: KeyboardEvent): string;
getSimpleKeyboardLayoutKey(e: KeyboardEvent): string;
/**
* Retrieve key from keyCode
*/
keyCodeToKey(keyCode: number): string | undefined;
keyCodeToKey(keyCode: number): string;
isMofifierKey: (e: KeyboardEvent) => boolean;
}
export default PhysicalKeyboard;