cros_ec.h 312 B

1234567891011121314151617
  1. #ifndef GRUB_ARM_CROS_EC_H
  2. #define GRUB_ARM_CROS_EC_H 1
  3. #include <grub/types.h>
  4. #define GRUB_CROS_EC_KEYSCAN_COLS 13
  5. #define GRUB_CROS_EC_KEYSCAN_ROWS 8
  6. struct grub_cros_ec_keyscan {
  7. grub_uint8_t data[GRUB_CROS_EC_KEYSCAN_COLS];
  8. };
  9. int
  10. grub_cros_ec_scan_keyboard(struct grub_cros_ec_keyscan *scan);
  11. #endif