key_formats.c 891 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include "key_formats.h"
  2. // all lengths in inches since it's all American formats
  3. // angle is in degrees
  4. const KeyFormat all_formats[] = {
  5. {
  6. .format_name = "KW1",
  7. .first_pin_inch = 0.247,
  8. .last_pin_inch = 0.847,
  9. .pin_increment_inch = 0.15,
  10. .pin_num = 5,
  11. .pin_width_inch = 0.084,
  12. .drill_angle = 90,
  13. .uncut_depth_inch = 0.329,
  14. .deepest_depth_inch = 0.191,
  15. .depth_step_inch = 0.023,
  16. .min_depth_ind = 1,
  17. .max_depth_ind = 7,
  18. .macs = 4,
  19. .clearance = 4
  20. },
  21. {
  22. .format_name = "SC4",
  23. .first_pin_inch = 0.231,
  24. .last_pin_inch = 1.012,
  25. .pin_increment_inch = 0.1562,
  26. .pin_num = 6,
  27. .pin_width_inch = 0.031,
  28. .drill_angle = 100,
  29. .uncut_depth_inch = 0.335,
  30. .deepest_depth_inch = 0.2,
  31. .depth_step_inch = 0.015,
  32. .min_depth_ind = 0,
  33. .max_depth_ind = 9,
  34. .macs = 7,
  35. .clearance = 4
  36. }
  37. };