key_formats.c 855 B

123456789101112131415161718192021222324252627282930313233343536
  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. .start_depth_ind = 1,
  17. .max_depth_ind = 7,
  18. .macs = 4
  19. },
  20. {
  21. .format_name = "SC4",
  22. .first_pin_inch = 0.231,
  23. .last_pin_inch = 1.012,
  24. .pin_increment_inch = 0.1562,
  25. .pin_num = 6,
  26. .pin_width_inch = 0.031,
  27. .drill_angle = 100,
  28. .uncut_depth_inch = 0.335,
  29. .deepest_depth_inch = 0.2,
  30. .depth_step_inch = 0.015,
  31. .start_depth_ind = 0,
  32. .max_depth_ind = 9,
  33. .macs = 7
  34. }
  35. };