add interface

Signed-off-by: hungry_feiwei <huxiao31@huawei.com>
This commit is contained in:
hungry_feiwei 2022-05-10 14:47:32 +08:00
parent bd40c13f76
commit bc3713d474

View File

@ -29,7 +29,10 @@ declare namespace inputDevice {
type SourceType = 'keyboard' | 'mouse' | 'touchpad' | 'touchscreen' | 'joystick' | 'trackball';
type AxisType = 'touchMajor' | 'touchMinor' | 'orientation' | 'x' | 'y' | 'pressure' | 'toolMinor' | 'touchMajor';
/**
* @since 9
*/
type AxisType = 'touchMajor' | 'touchMinor' | 'orientation' | 'x' | 'y' | 'pressure' | 'toolMinor' | 'touchMajor' | 'NULL';
enum KeyboardType {
/**