@wwawing/virtual-pad 3.13.0-acorn-statement.based-on.3.12.3.p.6 → 3.13.0-acorn-statement.based-on.3.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/lib/VirtualPad.d.ts +4 -4
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 1996-2015 NAO
|
|
4
|
-
Copyright (c) 2015-
|
|
4
|
+
Copyright (c) 2015-2023 WWA Wing Team
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
package/lib/VirtualPad.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const VirtualPadButtonCodes: readonly ["BUTTON_ENTER", "BUTTON_ESC", "BUTTON_SIDEBAR", "BUTTON_FAST", "BUTTON_SLOW", "BUTTON_LEFT", "BUTTON_UP", "BUTTON_RIGHT", "BUTTON_DOWN"];
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type VirtualPadButtonCode = typeof VirtualPadButtonCodes[number];
|
|
3
|
+
export type VirtualPadState = "NONE" | "TOUCH" | "TOUCHING" | "LEAVE";
|
|
4
|
+
export type VirtualPadButtons = {
|
|
5
5
|
[key in string]: HTMLButtonElement;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type VirtualPadEventFunction = (buttonCode: VirtualPadButtonCode) => void;
|
|
8
8
|
export default class VirtualPadStore {
|
|
9
9
|
private _enabled;
|
|
10
10
|
private _visible;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/virtual-pad",
|
|
3
|
-
"version": "3.13.0-acorn-statement.based-on.3.12.
|
|
3
|
+
"version": "3.13.0-acorn-statement.based-on.3.12.4",
|
|
4
4
|
"description": "WWA Wing Virtual Pad for mobile phone",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"author": "WWA Wing Team",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"typescript": "^
|
|
14
|
+
"typescript": "^5.0.4"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "b24896485130d7174bb5199c5c44bf769184d427"
|
|
20
20
|
}
|