key_formats.h 586 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef KEY_FORMATS_H
  2. #define KEY_FORMATS_H
  3. #define FORMAT_NUM 2
  4. typedef struct {
  5. char* manufacturer;
  6. char* format_name;
  7. char* format_link;
  8. double first_pin_inch;
  9. double last_pin_inch;
  10. double pin_increment_inch;
  11. int pin_num;
  12. double pin_width_inch;
  13. double drill_angle;
  14. double elbow_inch;
  15. double uncut_depth_inch;
  16. double deepest_depth_inch;
  17. double depth_step_inch;
  18. int min_depth_ind;
  19. int max_depth_ind;
  20. int macs;
  21. int clearance;
  22. } KeyFormat;
  23. extern const KeyFormat all_formats[FORMAT_NUM];
  24. #endif // KEY_FORMATS_H