@openmouse/protocol 0.26.0 → 0.27.0
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/dist/drivers/gwolves/hid.d.ts +26 -1
- package/dist/drivers/gwolves/hid.d.ts.map +1 -1
- package/dist/drivers/gwolves/hid.js +139 -2
- package/dist/drivers/gwolves/hid.js.map +1 -1
- package/dist/drivers/gwolves/products.d.ts +2 -0
- package/dist/drivers/gwolves/products.d.ts.map +1 -1
- package/dist/drivers/gwolves/products.js +2 -0
- package/dist/drivers/gwolves/products.js.map +1 -1
- package/dist/drivers/lamzu/hid.d.ts +15 -1
- package/dist/drivers/lamzu/hid.d.ts.map +1 -1
- package/dist/drivers/lamzu/hid.js +132 -2
- package/dist/drivers/lamzu/hid.js.map +1 -1
- package/dist/drivers/magnetic.d.ts +20 -0
- package/dist/drivers/magnetic.d.ts.map +1 -0
- package/dist/drivers/magnetic.js +6 -0
- package/dist/drivers/magnetic.js.map +1 -0
- package/dist/drivers/mouse-types.d.ts +50 -0
- package/dist/drivers/mouse-types.d.ts.map +1 -1
- package/dist/gwolves/index.d.ts +47 -0
- package/dist/gwolves/index.d.ts.map +1 -1
- package/dist/gwolves/index.js +75 -0
- package/dist/gwolves/index.js.map +1 -1
- package/dist/lamzu/index.d.ts +4 -1
- package/dist/lamzu/index.d.ts.map +1 -1
- package/dist/lamzu/index.js +11 -0
- package/dist/lamzu/index.js.map +1 -1
- package/dist/lamzu/magnetic.d.ts +85 -0
- package/dist/lamzu/magnetic.d.ts.map +1 -0
- package/dist/lamzu/magnetic.js +87 -0
- package/dist/lamzu/magnetic.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Magnetic button commands used by RAWM's Leviathan V4 GT. The mouse speaks the
|
|
3
|
+
* same page-command framing as the Lamzu receivers; these are the extra pages
|
|
4
|
+
* for trigger travel, rapid trigger, the magnetic/optical switch choice and the
|
|
5
|
+
* manual calibration, read from the V4 GT's web hub.
|
|
6
|
+
*/
|
|
7
|
+
import type { CompaxRequest } from "../compx/codec.js";
|
|
8
|
+
export declare const MAGNETIC_PAGE: {
|
|
9
|
+
readonly device: 0;
|
|
10
|
+
readonly magnetic: 3;
|
|
11
|
+
};
|
|
12
|
+
export declare const MAGNETIC_SWITCH: {
|
|
13
|
+
readonly optical: 2;
|
|
14
|
+
readonly magnetic: 3;
|
|
15
|
+
};
|
|
16
|
+
export declare const MAGNETIC_TRAVEL_MAX = 10;
|
|
17
|
+
export declare const MAGNETIC_RAPID_TRIGGER_MAX_MS = 15;
|
|
18
|
+
/** Release travel 9 means the release follows the trigger point. */
|
|
19
|
+
export declare const MAGNETIC_RELEASE_FOLLOWS = 9;
|
|
20
|
+
export declare const magneticRead: {
|
|
21
|
+
readonly fault: {
|
|
22
|
+
readonly target: 2;
|
|
23
|
+
readonly page: 3;
|
|
24
|
+
readonly command: 134;
|
|
25
|
+
readonly length: 6;
|
|
26
|
+
readonly args: readonly [];
|
|
27
|
+
};
|
|
28
|
+
readonly switchTypes: {
|
|
29
|
+
readonly target: 2;
|
|
30
|
+
readonly page: 0;
|
|
31
|
+
readonly command: 149;
|
|
32
|
+
readonly length: 8;
|
|
33
|
+
readonly args: readonly [];
|
|
34
|
+
};
|
|
35
|
+
readonly eid: {
|
|
36
|
+
readonly target: 2;
|
|
37
|
+
readonly page: 0;
|
|
38
|
+
readonly command: 130;
|
|
39
|
+
readonly length: 2;
|
|
40
|
+
readonly args: readonly [];
|
|
41
|
+
};
|
|
42
|
+
readonly travel: (profile: number, key: number) => CompaxRequest;
|
|
43
|
+
readonly rapidTrigger: (profile: number, key: number) => CompaxRequest;
|
|
44
|
+
};
|
|
45
|
+
export declare const magneticWrite: {
|
|
46
|
+
readonly switchTypes: (eid: number, left: number, right: number) => CompaxRequest;
|
|
47
|
+
readonly travel: (profile: number, key: number, press: number, release: number) => CompaxRequest;
|
|
48
|
+
readonly rapidTrigger: (profile: number, key: number, milliseconds: number) => CompaxRequest;
|
|
49
|
+
/** `state` 5 asks the layout, 4 and 1 start a two or one button calibration, 5 and 3 poll it. */
|
|
50
|
+
readonly calibration: (state: number) => CompaxRequest;
|
|
51
|
+
};
|
|
52
|
+
export declare function magneticDecodeFault(payload: Uint8Array): {
|
|
53
|
+
calibrated: boolean;
|
|
54
|
+
needsRecalibration: boolean;
|
|
55
|
+
};
|
|
56
|
+
export declare function magneticDecodeSwitchTypes(payload: Uint8Array): [number, number];
|
|
57
|
+
export declare function magneticDecodeTravel(payload: Uint8Array): {
|
|
58
|
+
press: number;
|
|
59
|
+
release: number;
|
|
60
|
+
};
|
|
61
|
+
export declare function magneticDecodeRapidTrigger(payload: Uint8Array): number;
|
|
62
|
+
/** The hub's identifier for the mouse model, echoed back when the switch type is written. */
|
|
63
|
+
export declare function magneticDecodeEid(payload: Uint8Array): number;
|
|
64
|
+
export interface MagneticCalibrationReading {
|
|
65
|
+
state: number;
|
|
66
|
+
code: number;
|
|
67
|
+
twoButtons: boolean;
|
|
68
|
+
/** Which button the mouse is waiting on: bit 0/1 release left/right, bit 2/3 press left/right. */
|
|
69
|
+
mask: number;
|
|
70
|
+
left: number;
|
|
71
|
+
right: number;
|
|
72
|
+
/** Progress of a single-button calibration, 0 to 100. */
|
|
73
|
+
progress: number;
|
|
74
|
+
}
|
|
75
|
+
export declare function magneticDecodeCalibration(payload: Uint8Array): MagneticCalibrationReading;
|
|
76
|
+
export declare const MAGNETIC_CALIBRATION_STATE: {
|
|
77
|
+
readonly success: 7;
|
|
78
|
+
readonly failed: 8;
|
|
79
|
+
readonly cancelled: 9;
|
|
80
|
+
};
|
|
81
|
+
export declare const MAGNETIC_CALIBRATION_STEPS: Readonly<Record<number, string>>;
|
|
82
|
+
export declare const MAGNETIC_CALIBRATION_ERRORS: Readonly<Record<number, string>>;
|
|
83
|
+
/** What each button is being asked to do, from the mask the mouse reports during a two button calibration. */
|
|
84
|
+
export declare function magneticCalibrationPrompt(mask: number): string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ED,6FAA6F;AAC7F,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAK7D;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,kGAAkG;IAClG,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,UAAU,GAAG,0BAA0B,CAUzF;AAED,eAAO,MAAM,0BAA0B;;;;CAAmD,CAAC;AAE3F,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYvE,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAWxE,CAAC;AAEF,8GAA8G;AAC9G,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOrE"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const MAGNETIC_PAGE = { device: 0x00, magnetic: 0x03 };
|
|
2
|
+
export const MAGNETIC_SWITCH = { optical: 2, magnetic: 3 };
|
|
3
|
+
export const MAGNETIC_TRAVEL_MAX = 10;
|
|
4
|
+
export const MAGNETIC_RAPID_TRIGGER_MAX_MS = 15;
|
|
5
|
+
/** Release travel 9 means the release follows the trigger point. */
|
|
6
|
+
export const MAGNETIC_RELEASE_FOLLOWS = 9;
|
|
7
|
+
const MOUSE = 0x02;
|
|
8
|
+
export const magneticRead = {
|
|
9
|
+
fault: { target: MOUSE, page: MAGNETIC_PAGE.magnetic, command: 0x86, length: 6, args: [] },
|
|
10
|
+
switchTypes: { target: MOUSE, page: MAGNETIC_PAGE.device, command: 0x95, length: 8, args: [] },
|
|
11
|
+
eid: { target: MOUSE, page: MAGNETIC_PAGE.device, command: 0x82, length: 2, args: [] },
|
|
12
|
+
travel: (profile, key) => ({ target: MOUSE, page: MAGNETIC_PAGE.magnetic, command: 0x85, length: 4, args: [profile, key] }),
|
|
13
|
+
rapidTrigger: (profile, key) => ({ target: MOUSE, page: MAGNETIC_PAGE.device, command: 0x98, length: 3, args: [profile, key] }),
|
|
14
|
+
};
|
|
15
|
+
export const magneticWrite = {
|
|
16
|
+
switchTypes: (eid, left, right) => ({ target: MOUSE, page: MAGNETIC_PAGE.device, command: 0x15, length: 8, args: [eid & 0xff, left, right] }),
|
|
17
|
+
travel: (profile, key, press, release) => ({ target: MOUSE, page: MAGNETIC_PAGE.magnetic, command: 0x05, length: 4, args: [profile, key, press, release] }),
|
|
18
|
+
rapidTrigger: (profile, key, milliseconds) => ({ target: MOUSE, page: MAGNETIC_PAGE.device, command: 0x18, length: 3, args: [profile, key, milliseconds] }),
|
|
19
|
+
/** `state` 5 asks the layout, 4 and 1 start a two or one button calibration, 5 and 3 poll it. */
|
|
20
|
+
calibration: (state) => ({ target: MOUSE, page: MAGNETIC_PAGE.magnetic, command: 0x07, length: 3, args: [state] }),
|
|
21
|
+
};
|
|
22
|
+
export function magneticDecodeFault(payload) {
|
|
23
|
+
return { calibrated: (payload[4] ?? 1) === 0, needsRecalibration: payload[5] === 64 };
|
|
24
|
+
}
|
|
25
|
+
export function magneticDecodeSwitchTypes(payload) {
|
|
26
|
+
return [payload[1] ?? 0, payload[2] ?? 0];
|
|
27
|
+
}
|
|
28
|
+
export function magneticDecodeTravel(payload) {
|
|
29
|
+
return { press: payload[2] ?? 0, release: payload[3] ?? 0 };
|
|
30
|
+
}
|
|
31
|
+
export function magneticDecodeRapidTrigger(payload) {
|
|
32
|
+
return payload[2] ?? 0;
|
|
33
|
+
}
|
|
34
|
+
/** The hub's identifier for the mouse model, echoed back when the switch type is written. */
|
|
35
|
+
export function magneticDecodeEid(payload) {
|
|
36
|
+
const low = payload[0] ?? 0;
|
|
37
|
+
const high = payload[1] ?? 0;
|
|
38
|
+
const value = high === 0 || high === 0xff ? low : high + (low << 8);
|
|
39
|
+
return value === 0xff ? 0 : value;
|
|
40
|
+
}
|
|
41
|
+
export function magneticDecodeCalibration(payload) {
|
|
42
|
+
return {
|
|
43
|
+
state: payload[1] ?? 0,
|
|
44
|
+
code: payload[3] ?? 0,
|
|
45
|
+
twoButtons: payload[21] === 7,
|
|
46
|
+
mask: payload[19] ?? 0,
|
|
47
|
+
left: payload[24] ?? 0,
|
|
48
|
+
right: payload[25] ?? 0,
|
|
49
|
+
progress: payload[2] ?? 0,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export const MAGNETIC_CALIBRATION_STATE = { success: 7, failed: 8, cancelled: 9 };
|
|
53
|
+
export const MAGNETIC_CALIBRATION_STEPS = {
|
|
54
|
+
1: "Release the left and right buttons completely",
|
|
55
|
+
2: "Press and hold the left button fully",
|
|
56
|
+
3: "Release the left button",
|
|
57
|
+
4: "Press and hold the right button fully",
|
|
58
|
+
5: "Release the right button",
|
|
59
|
+
6: "Verifying and saving...",
|
|
60
|
+
7: "Calibration Successful",
|
|
61
|
+
8: "Calibration Failed",
|
|
62
|
+
9: "Calibration Cancelled",
|
|
63
|
+
10: "Press and hold both buttons fully",
|
|
64
|
+
11: "Release both buttons; either can be released first",
|
|
65
|
+
};
|
|
66
|
+
export const MAGNETIC_CALIBRATION_ERRORS = {
|
|
67
|
+
2: "Calibration timed out. Fully press and release as prompted, then recalibrate.",
|
|
68
|
+
3: "Abnormal button travel. Fully press and release, then recalibrate.",
|
|
69
|
+
4: "Unstable calibration data. Keep the mouse still and operate the buttons smoothly, then recalibrate.",
|
|
70
|
+
8: "Calibration canceled. Previous settings restored.",
|
|
71
|
+
9: "Mouse is asleep. Move it to wake it, then recalibrate.",
|
|
72
|
+
10: "USB connection changed during calibration. Keep the connection unchanged, then recalibrate.",
|
|
73
|
+
11: "Another magnetic switch calibration is in progress. Try again later.",
|
|
74
|
+
12: "Magnetic switch signal unavailable. Check the battery and connection, then recalibrate.",
|
|
75
|
+
13: "Failed to save calibration. Previous settings restored. Please recalibrate.",
|
|
76
|
+
14: "Button not fully released or release positions inconsistent. Fully release both buttons, then recalibrate.",
|
|
77
|
+
};
|
|
78
|
+
/** What each button is being asked to do, from the mask the mouse reports during a two button calibration. */
|
|
79
|
+
export function magneticCalibrationPrompt(mask) {
|
|
80
|
+
if (!mask)
|
|
81
|
+
return null;
|
|
82
|
+
const side = (press, release) => mask & press ? "Press and hold fully" : mask & release ? "Release" : mask & 16 ? "Keep steady" : "";
|
|
83
|
+
const left = side(4, 1);
|
|
84
|
+
const right = side(8, 2);
|
|
85
|
+
return [left && `Left: ${left}`, right && `Right: ${right}`].filter(Boolean).join("\n") || null;
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=magnetic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"magnetic.js","sourceRoot":"","sources":["../../src/lamzu/magnetic.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAW,CAAC;AACvE,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAW,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AACtC,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAChD,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC;AAE1C,MAAM,KAAK,GAAG,IAAI,CAAC;AAEnB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC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