mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-06-06 00:00:38 +08:00
Build update
This commit is contained in:
+1
-1
@@ -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
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
Vendored
+6
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user