Devesh36/clear-mouse
A transparent, right-handed wireless mouse assembly with a 44×58 mm control PCB, LiPo battery, optical sensor, click buttons, scroll encoder, DPI/middle buttons, USB‑C charging, and 3D‑printed housing/mechanical hardware.
- Version
- 0.1.5
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Devesh36/clear-mouse # download the package files into ./clear-mouse
tsci add Devesh36/clear-mouse # add it to your project as @tsci/Devesh36.clear-mouseIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
imports/TS_1088_AR02016.tsx
import objPath from "./TS_1088_AR02016.obj";
import stepPath from "./TS_1088_AR02016.step";
import type { PushButtonProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
} as const;
const pinAttributes = {
pin1: { isPassive: true },
pin2: { isPassive: true },
} satisfies NonNullable<PushButtonProps["pinAttributes"]>;
export const TS_1088_AR02016 = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props;
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C720477"],
}}
manufacturerPartNumber="TS-1088-AR02016"
pinAttributes={pinAttributes}
footprint="smdpads2_p4.3698mm_pw1.23mm_ph1.86mm_cyw6.0998mm_cyh3.4mm"
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
}}
{...restProps}
/>
);
};