mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 16:52:59 +08:00
Build update
This commit is contained in:
parent
418e890b2d
commit
9ace69a5db
@ -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.
|
||||
|
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
11
build/services/PhysicalKeyboard.d.ts
vendored
11
build/services/PhysicalKeyboard.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user