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/SS_12D00_G3.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
} as const;
export const SS_12D00_G3 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={{
pin1: { isPassive: true },
pin2: { isPassive: true },
pin3: { isPassive: true },
}}
supplierPartNumbers={{
jlcpcb: ["C22355741"],
}}
manufacturerPartNumber="SS-12D00-G3"
footprint={
<footprint>
<platedhole
portHints={["pin1"]}
pcbX="-2.500122mm"
pcbY="0mm"
outerDiameter="1.524mm"
holeDiameter="0.9144mm"
shape="circle"
/>
<platedhole
portHints={["pin2"]}
pcbX="-0mm"
pcbY="0mm"
outerDiameter="1.524mm"
holeDiameter="0.9144mm"
shape="circle"
/>
<platedhole
portHints={["pin3"]}
pcbX="2.499868mm"
pcbY="0mm"
outerDiameter="1.524mm"
holeDiameter="0.9144mm"
shape="circle"
/>
<silkscreenpath
route={[
{ x: -1.5241270000000213, y: -0.17200879999995777 },
{ x: -1.5241270000000213, y: -1.143000000000029 },
{ x: -1.2701270000000022, y: -1.143000000000029 },
]}
/>
<silkscreenpath
route={[
{ x: -1.1836145999999417, y: 1.143000000000029 },
{ x: -1.5241270000000213, y: 1.143000000000029 },
{ x: -1.5241270000000213, y: 0.17200879999995777 },
]}
/>
<silkscreenpath
route={[
{ x: 1.3968730000000278, y: 1.143000000000029 },
{ x: -1.2701270000000022, y: 1.143000000000029 },
{ x: -1.2701270000000022, y: -1.143000000000029 },
{ x: 1.3968730000000278, y: -1.143000000000029 },
{ x: 1.3968730000000278, y: 1.143000000000029 },
]}
/>
<silkscreenrect
pcbX="0mm"
pcbY="0mm"
width="9.017mm"
height="4.064mm"
strokeWidth="0.254mm"
/>
<silkscreentext
text="{NAME}"
pcbX="0.001778mm"
pcbY="3.032mm"
anchorAlignment="center"
fontSize="1mm"
/>
<fabricationnotepath
route={[
{ x: -1.1431270000000495, y: -1.0159999999999627 },
{ x: -0.8891270000000304, y: -1.0159999999999627 },
{ x: -0.8891270000000304, y: 1.143000000000029 },
{ x: -1.1431270000000495, y: 1.143000000000029 },
{ x: -1.1431270000000495, y: -1.0159999999999627 },
]}
strokeWidth="0mm"
isFilled
hasStroke={false}
/>
<fabricationnotepath
route={[
{ x: -1.651126999999974, y: -1.0159999999999627 },
{ x: 1.2698729999999614, y: -1.0159999999999627 },
{ x: 1.2698729999999614, y: 1.0160000000000764 },
{ x: -1.397126999999955, y: 1.0160000000000764 },
{ x: -1.397126999999955, y: 1.2699999999999818 },
{ x: 1.3968730000000278, y: 1.2699999999999818 },
{ x: 1.5238729999999805, y: 1.2699999999999818 },
{ x: 1.5238729999999805, y: -1.2699999999999818 },
{ x: -1.651126999999974, y: -1.2699999999999818 },
{ x: -1.651126999999974, y: -1.0159999999999627 },
]}
strokeWidth="0mm"
isFilled
hasStroke={false}
/>
<fabricationnotepath
route={[
{ x: -1.651126999999974, y: -1.1429999999999154 },
{ x: -1.651126999999974, y: 1.2699999999999818 },
{ x: -1.397126999999955, y: 1.2699999999999818 },
{ x: -1.397126999999955, y: -1.0159999999999627 },
{ x: -1.5241270000000213, y: -1.0159999999999627 },
{ x: -1.651126999999974, y: -1.1429999999999154 },
]}
strokeWidth="0mm"
isFilled
hasStroke={false}
/>
<courtyardoutline
outline={[
{ x: -4.650118200000179, y: 2.2000088000000915 },
{ x: 4.6498642000000245, y: 2.2000088000000915 },
{ x: 4.6498642000000245, y: -2.1999834000000646 },
{ x: -4.650118200000179, y: -2.1999834000000646 },
{ x: -4.650118200000179, y: 2.2000088000000915 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C22355741.obj?uuid=73abde54055d465790e8480c42fb2657",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C22355741.step?uuid=73abde54055d465790e8480c42fb2657",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.0006270000001338261,
y: -0.000012200000070183847,
z: -0.4000052000000003,
},
}}
{...props}
/>
);
};