key_formats.h 485 B

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