(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
  (symbol "RotaryEncoder_Switch" (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
    (property "Reference" "SW4" (at 0 -6.35 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "Setup" (at 0 -8.89 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "" (at -3.81 4.064 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (at 0 6.604 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "rotary switch encoder switch push button" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Rotary encoder, dual channel, incremental quadrate outputs, with switch" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "RotaryEncoder*Switch*" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "RotaryEncoder_Switch_0_1"
      (rectangle (start -5.08 5.08) (end 5.08 -5.08)
        (stroke (width 0.254) (type default))
        (fill (type background))
      )
      (circle (center -3.81 0) (radius 0.254)
        (stroke (width 0) (type default))
        (fill (type outline))
      )
      (circle (center -0.381 0) (radius 1.905)
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (arc (start -0.381 2.667) (mid -3.0988 -0.0635) (end -0.381 -2.794)
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -0.635 -1.778)
          (xy -0.635 1.778)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -0.381 -1.778)
          (xy -0.381 1.778)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -0.127 1.778)
          (xy -0.127 -1.778)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 3.81 0)
          (xy 3.429 0)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 3.81 1.016)
          (xy 3.81 -1.016)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -5.08 -2.54)
          (xy -3.81 -2.54)
          (xy -3.81 -2.032)
        )
        (stroke (width 0) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -5.08 2.54)
          (xy -3.81 2.54)
          (xy -3.81 2.032)
        )
        (stroke (width 0) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 0.254 -3.048)
          (xy -0.508 -2.794)
          (xy 0.127 -2.413)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 0.254 2.921)
          (xy -0.508 2.667)
          (xy 0.127 2.286)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 5.08 -2.54)
          (xy 4.318 -2.54)
          (xy 4.318 -1.016)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 5.08 2.54)
          (xy 4.318 2.54)
          (xy 4.318 1.016)
        )
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -5.08 0)
          (xy -3.81 0)
          (xy -3.81 -1.016)
          (xy -3.302 -2.032)
        )
        (stroke (width 0) (type default))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -4.318 0)
          (xy -3.81 0)
          (xy -3.81 1.016)
          (xy -3.302 2.032)
        )
        (stroke (width 0) (type default))
        (fill (type none))
      )
      (circle (center 4.318 -1.016) (radius 0.127)
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
      (circle (center 4.318 1.016) (radius 0.127)
        (stroke (width 0.254) (type default))
        (fill (type none))
      )
    )
    (symbol "RotaryEncoder_Switch_1_1"
      (pin passive line (at -7.62 2.54 0) (length 2.54)
        (name "A" (effects (font (size 1.27 1.27))))
        (number "A" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -7.62 -2.54 0) (length 2.54)
        (name "B" (effects (font (size 1.27 1.27))))
        (number "B" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -7.62 0 0) (length 2.54)
        (name "C" (effects (font (size 1.27 1.27))))
        (number "C" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 7.62 2.54 180) (length 2.54)
        (name "S1" (effects (font (size 1.27 1.27))))
        (number "S1" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 7.62 -2.54 180) (length 2.54)
        (name "S2" (effects (font (size 1.27 1.27))))
        (number "S2" (effects (font (size 1.27 1.27))))
      )
    )
  )
)
