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/SMF5_0A.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
} as const;
const pinAttributes = {
pin2: { isPassive: true },
pin1: { isPassive: true },
} satisfies NonNullable<ChipProps["pinAttributes"]>;
export const SMF5_0A = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
symbol={
<symbol>
<port
name="pin2"
pinNumber={2}
aliases={["2"]}
direction="right"
schX={0.4}
schY={0}
schStemLength={0.3}
/>
<port
name="pin1"
pinNumber={1}
aliases={["1"]}
direction="left"
schX={-0.4}
schY={0}
schStemLength={0.3}
/>
<schematicpath
points={[
{ x: -0.18, y: 0.18 },
{ x: -0.1, y: 0.1 },
{ x: -0.1, y: -0.1 },
{ x: -0.02, y: -0.18 },
]}
strokeColor="#880000"
/>
<schematicpath
svgPath="M 0.1 -0.12 L -0.1 0 L 0.1 0.14 Z"
strokeColor="#880000"
/>
<schematictext
schX={0}
schY={0.38}
text="{NAME}"
fontSize={0.2}
anchor="bottom_center"
/>
</symbol>
}
supplierPartNumbers={{
jlcpcb: ["C305704"],
}}
manufacturerPartNumber="SMF5.0A"
footprint="smdpads2_p3.3848mm_pw0.95mm_ph1.15mm_cyw4.8348mm_cyh2.1mm"
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C305704.obj?uuid=ffe28a36cfa04cde86eca0e275be7a76",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C305704.step?uuid=ffe28a36cfa04cde86eca0e275be7a76",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: -0.55 },
}}
{...props}
/>
);
};