footprint: fix wring pin numbering on button

This commit is contained in:
King Kévin 2019-12-05 16:29:25 +01:00
parent b522f9e1bd
commit ee376724ac
2 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# subcircuit generated using QEDA v0.4.1 on 2019-11-28 18:28:18
# subcircuit generated using QEDA v0.4.1 on 2019-12-05 16:01:00
li:pcb-rnd-subcircuit-v6 {
ha:subc.1 {
uid = custom_BUTTON6MM........
@ -108,8 +108,8 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.22 {
proto = 2
rot = 0
x = 3.250mm
y = -2.250mm
x = -3.250mm
y = 2.250mm
ha:attributes {
term = 2
name = 2
@ -122,7 +122,7 @@ li:pcb-rnd-subcircuit-v6 {
ha:padstack_ref.23 {
proto = 2
rot = 0
x = -3.250mm
x = 3.250mm
y = 2.250mm
ha:attributes {
term = 3
@ -137,7 +137,7 @@ li:pcb-rnd-subcircuit-v6 {
proto = 2
rot = 0
x = 3.250mm
y = 2.250mm
y = -2.250mm
ha:attributes {
term = 4
name = 4

View File

@ -4,7 +4,7 @@ keywords: mechanical, button
# 1A and 1B are internally connected
# 2A and 2B are internally connected
# 1A/1B are momentarily connected when the button is pressed
# 1x/2x are momentarily connected when the button is pressed
pinout:
1A: 1
@ -24,7 +24,9 @@ housing:
holeDiameter: 1.0
padDiameter: 1.4
rowCount: 2
columnCount: 2
verticalPitch: 4.5
horizontalPitch: 6.5
# this numbers the pins not as I would like
#rowCount: 2
#columnCount: 2
#verticalPitch: 4.5
#horizontalPitch: 6.5
padPosition: -3.25, -2.25, -3.25, 2.25, 3.25, 2.25, 3.25, -2.25