(kicad_pcb (version 20211014) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (stackup
      (layer "F.SilkS" (type "Top Silk Screen"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (thickness 0.01))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "core") (thickness 1.51) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (thickness 0.01))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen"))
      (copper_finish "None")
      (dielectric_constraints no)
    )
    (pad_to_mask_clearance 0)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (disableapertmacros false)
      (usegerberextensions true)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile false)
      (svguseinch false)
      (svgprecision 6)
      (excludeedgelayer true)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "gerber/")
    )
  )
  (net 0 "")
  (net 1 "GND")
  (net 2 "+3V3")
  (net 3 "JS_Y")
  (net 4 "JS_X")
  (net 5 "JS_SW")
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (tedit 56D1B4CB)
    (at 151.5364 85.0138)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr exclude_from_pos_files)
    (fp_text reference "H3" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") hide)
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask))
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical" (layer "F.Cu")
    (tedit 59FED5CC)
    (at 146.8364 81.0638 -90)
    (descr "Through hole straight pin header, 1x05, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x05 2.54mm single row")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "J1" (at 0 -2.33 90) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x05" (at 0 12.49 90) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 5.08) (layer "F.Fab") hide)
    (pad "1" thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 2 "+3V3") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 5.08 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 "JS_Y") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" thru_hole oval (at 0 7.62 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "JS_X") (pinfunction "Pin_4") (pintype "passive"))
    (pad "5" thru_hole oval (at 0 10.16 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 "JS_SW") (pinfunction "Pin_5") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x05_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 -1.75))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 -180 0))
    )
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (tedit 56D1B4CB)
    (at 131.9364 109.5138)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr exclude_from_pos_files)
    (fp_text reference "H2" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") hide)
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask))
  )
  (footprint "joypcb:CNK_THB001P" locked (layer "F.Cu")
    (tedit 634231B3)
    (at 141.732 97.2566 -90)
    (property "MANUFACTURER" "CNK")
    (property "MAXIMUM_PACKAGE_HEIGHT" "19.85mm")
    (property "PARTREV" "27 Jan 22")
    (property "SNAPEDA_PN" "THB001P")
    (property "STANDARD" "Manufacturer Recommendations")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "U1" (at -2.175 -11.675 90) (layer "F.SilkS") hide)
    (fp_text value "THB001P" (at 1.085 13.265 90) (layer "F.Fab") hide)
    (pad "A" thru_hole circle locked (at -3.25 5.75 270) (size 1.95 1.95) (drill 1.3) (layers *.Cu *.Mask)
      (net 5 "JS_SW") (pintype "passive"))
    (pad "B" thru_hole circle locked (at 3.25 5.75 270) (size 1.95 1.95) (drill 1.3) (layers *.Cu *.Mask)
      (net 5 "JS_SW") (pintype "passive"))
    (pad "C" thru_hole circle locked (at -3.25 10.25 270) (size 1.95 1.95) (drill 1.3) (layers *.Cu *.Mask)
      (net 1 "GND") (pintype "passive"))
    (pad "D" thru_hole circle locked (at 3.25 10.25 270) (size 1.95 1.95) (drill 1.3) (layers *.Cu *.Mask)
      (net 1 "GND") (pintype "passive"))
    (pad "S1" thru_hole circle locked (at 6.325 -5 270) (size 2.4 2.4) (drill 1.6) (layers *.Cu *.Mask))
    (pad "S2" thru_hole circle locked (at -6.325 -5 270) (size 2.4 2.4) (drill 1.6) (layers *.Cu *.Mask))
    (pad "S3" thru_hole circle locked (at -6.325 5 270) (size 2.4 2.4) (drill 1.6) (layers *.Cu *.Mask))
    (pad "S4" thru_hole circle locked (at 6.325 5 270) (size 2.4 2.4) (drill 1.6) (layers *.Cu *.Mask))
    (pad "VR1_1" thru_hole rect locked (at 8.73 2.5 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 1 "GND") (pintype "passive"))
    (pad "VR1_2" thru_hole circle locked (at 8.73 0 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 4 "JS_X") (pintype "passive"))
    (pad "VR1_3" thru_hole circle locked (at 8.73 -2.5 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 2 "+3V3") (pintype "passive"))
    (pad "VR2_1" thru_hole circle locked (at 2.5 -8.73 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 1 "GND") (pintype "passive"))
    (pad "VR2_2" thru_hole circle locked (at 0 -8.73 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 3 "JS_Y") (pintype "passive"))
    (pad "VR2_3" thru_hole circle locked (at -2.5 -8.73 270) (size 1.65 1.65) (drill 1.1) (layers *.Cu *.Mask)
      (net 2 "+3V3") (pintype "passive"))
    (model "${KIPRJMOD}/THB001P.stp"
      (offset (xyz 0 0 6.3))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 -180 -180))
    )
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (tedit 56D1B4CB)
    (at 151.5364 109.5138)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr exclude_from_pos_files)
    (fp_text reference "H1" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") hide)
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask))
  )
  (footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
    (tedit 56D1B4CB)
    (at 131.9364 85.0138)
    (descr "Mounting Hole 3.2mm, no annular, M3")
    (tags "mounting hole 3.2mm no annular m3")
    (property "Sheetfile" "joypcb.kicad_sch")
    (property "Sheetname" "")
    (attr exclude_from_pos_files)
    (fp_text reference "H4" (at 0 -4.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 4.2) (layer "F.Fab") hide)
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") hide)
    (pad "" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask))
  )
  (gr_line (start 132.1422 113.0644) (end 151.5224 113.0644) (layer "Edge.Cuts") (width 0.15))
  (gr_line (start 133.6402 79.121) (end 150.0326 79.121) (layer "Edge.Cuts") (width 0.15))
  (gr_line (start 155.0364 84.1248) (end 155.0276 109.5592) (layer "Edge.Cuts") (width 0.15))
  (gr_arc (start 132.1422 113.0644) (mid 129.663649 112.037751) (end 128.637 109.5592) (layer "Edge.Cuts") (width 0.15))
  (gr_arc (start 155.0276 109.5592) (mid 154.000951 112.037751) (end 151.5224 113.0644) (layer "Edge.Cuts") (width 0.15))
  (gr_line (start 128.637 109.5592) (end 128.6364 84.1248) (layer "Edge.Cuts") (width 0.15))
  (gr_arc (start 128.6364 84.1248) (mid 130.101979 80.586579) (end 133.6402 79.121) (layer "Edge.Cuts") (width 0.15))
  (gr_arc (start 150.0326 79.121) (mid 153.570821 80.586579) (end 155.0364 84.1248) (layer "Edge.Cuts") (width 0.15))
  (gr_text "JS_Y" (at 141.7942 84.6672 90) (layer "F.SilkS"))
  (gr_text "VCC" (at 144.4358 84.3878 90) (layer "F.SilkS"))
  (gr_text "JS_SW" (at 136.7142 85.099 90) (layer "F.SilkS"))
  (gr_text "VecBoy JS" (at 141.732 109.474) (layer "F.SilkS"))
  (gr_text "GND" (at 146.8996 84.337 90) (layer "F.SilkS"))
  (gr_text "JS_X\n" (at 139.178 84.591 90) (layer "F.SilkS"))
  (zone (net 1) (net_name "GND") (layer "F.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.254))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.254) (thermal_bridge_width 0.254))
    (polygon
      (pts
        (xy 155.0416 113.1062)
        (xy 128.651 113.0554)
        (xy 128.651 79.121)
        (xy 155.0162 79.1464)
      )
    )
  )
  (zone (net 1) (net_name "GND") (layer "B.Cu") (hatch edge 0.508)
    (connect_pads (clearance 0.254))
    (min_thickness 0.254) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.254) (thermal_bridge_width 0.254))
    (polygon
      (pts
        (xy 155.0416 113.1062)
        (xy 128.651 113.0554)
        (xy 128.651 79.121)
        (xy 155.0162 79.1464)
      )
    )
  )
)
