From a83edffdbebc86d1f2784e6424dde2364936beee Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 15 Oct 2015 10:58:24 +1000 Subject: [PATCH] hidpp10: shuffle 0xF1 to list after 0xB5 Signed-off-by: Peter Hutterer --- src/hidpp10.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/hidpp10.h b/src/hidpp10.h index 239c1cd0..7770abe5 100644 --- a/src/hidpp10.h +++ b/src/hidpp10.h @@ -294,15 +294,6 @@ int hidpp10_set_usb_refresh_rate(struct hidpp10_device *dev, uint16_t rate); -/* -------------------------------------------------------------------------- */ -/* 0xF1: Device Firmware Information */ -/* -------------------------------------------------------------------------- */ -int -hidpp10_get_firmare_information(struct hidpp10_device *dev, - uint8_t *major, - uint8_t *minor, - uint8_t *build_number); - /* -------------------------------------------------------------------------- */ /* 0xB5: Pairing Information */ /* -------------------------------------------------------------------------- */ @@ -316,6 +307,16 @@ hidpp10_get_pairing_information_device_name(struct hidpp10_device *dev, char *name, size_t *name_sz); +/* -------------------------------------------------------------------------- */ +/* 0xF1: Device Firmware Information */ +/* -------------------------------------------------------------------------- */ +int +hidpp10_get_firmare_information(struct hidpp10_device *dev, + uint8_t *major, + uint8_t *minor, + uint8_t *build_number); + + /* FIXME: that's what my G500s supports, but only pages 3-5 are valid. * 0 is zeroed, 1 and 2 are garbage, all above 6 is garbage */ #define HIDPP10_NUM_PROFILES 3