|
| 1 | +/* |
| 2 | + * This program is free software: you can redistribute it and/or modify it under |
| 3 | + * the terms of the GNU General Public License as published by the Free Software |
| 4 | + * Foundation, either version 3 of the License, or (at your option) any later |
| 5 | + * version. |
| 6 | + * |
| 7 | + * This program is distributed in the hope that it will be useful, but WITHOUT |
| 8 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 9 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 10 | + * details. |
| 11 | + * |
| 12 | + * You should have received a copy of the GNU General Public License along with |
| 13 | + * this program. If not, see <https://www.gnu.org/licenses/>. |
| 14 | + */ |
| 15 | + |
| 16 | +import { DeviceMetadata, deviceMetadataSchema } from "@/types/device-metadata" |
| 17 | +import { Keycode } from "@/types/keycodes" |
| 18 | + |
| 19 | +export const HE16: DeviceMetadata = deviceMetadataSchema.parse({ |
| 20 | + name: "HE16", |
| 21 | + vendorId: 0xab50, |
| 22 | + productId: 0xab16, |
| 23 | + numProfiles: 4, |
| 24 | + numLayers: 4, |
| 25 | + numKeys: 16, |
| 26 | + numAdvancedKeys: 32, |
| 27 | + layout: [ |
| 28 | + [{ key: 0 }, { key: 1 }, { key: 2 }, { key: 3 }], |
| 29 | + [{ key: 4 }, { key: 5 }, { key: 6 }, { key: 7 }], |
| 30 | + [{ key: 8 }, { key: 9 }, { key: 10 }, { key: 11 }], |
| 31 | + [{ key: 12 }, { key: 13 }, { key: 14 }, { key: 15 }], |
| 32 | + ], |
| 33 | + defaultKeymap: [ |
| 34 | + Array(16).fill(Keycode._______), |
| 35 | + Array(16).fill(Keycode._______), |
| 36 | + Array(16).fill(Keycode._______), |
| 37 | + Array(16).fill(Keycode._______), |
| 38 | + ], |
| 39 | +}) |
0 commit comments