Skip to content

Commit

Permalink
Add first sketch of the preonic for chrysalis. not working. not even …
Browse files Browse the repository at this point in the history
…the right number of keys
  • Loading branch information
obra committed Jun 19, 2024
1 parent a463479 commit 1e7af3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/hardware-keyboardio-preonic/components/Keymap.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ const Keymap = (props) => {
<svg
viewBox="0 0 855 400"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio=""
preserveAspectRatio="xMinYMin meet"
style={{
maxHeight: "150%",
maxHeight: maxHeight || "100%",
background: `url(${Preonic})`,
backgroundRepeat: "no-repeat",
backgroundSize: "100%",
Expand Down
5 changes: 3 additions & 2 deletions src/api/hardware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import { Atreus2 } from "@api/hardware-keyboardio-atreus2";
import { Model01, Model100 } from "@api/hardware-keyboardio-model01";
import { Preonic } from "@api/hardware-keyboardio-preonic";

// We have two arrays here: the `serial` array contains hardware descriptors
// where a serial device is to be used in either application or bootloader mode.
Expand All @@ -30,9 +31,9 @@ import { Model01, Model100 } from "@api/hardware-keyboardio-model01";
// but the application mode is, so it's in both.
//
export const Hardware = {
devices: [Model01, Model100, Atreus2],
devices: [Model01, Model100, Atreus2, Preonic],
serial: [Model01, Model100, Atreus2],
nonSerial: [Model100],
nonSerial: [Model100, Preonic],
};

function getDeviceProtocol(vid, pid) {
Expand Down

0 comments on commit 1e7af3f

Please sign in to comment.