Adding useMouseEvents option

This commit is contained in:
Francisco Hodge
2019-03-07 20:51:29 -05:00
parent 48a15e6715
commit 30941f4ba0
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -121,6 +121,11 @@ declare module 'simple-keyboard' {
*/
autoUseTouchEvents?: boolean;
/**
* Opt out of PointerEvents handling, falling back to the prior mouse event logic.
*/
useMouseEvents?: boolean;
/**
* Executes the callback function on key press. Returns button layout name (i.e.: "{shift}").
*/