mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
hidpp10: move open_lock and disconnect to the correct section in the header
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -57,8 +57,6 @@ union hidpp10_message {
|
||||
void hidpp10_device_destroy(struct hidpp10_device *dev);
|
||||
|
||||
int hidpp10_request_command(struct hidpp10_device *device, union hidpp10_message *msg);
|
||||
int hidpp10_open_lock(struct hidpp10_device *device);
|
||||
int hidpp10_disconnect(struct hidpp10_device *device, int idx);
|
||||
void hidpp10_list_devices(struct ratbag_device *device);
|
||||
struct hidpp10_device *hidpp10_device_new_from_wpid(struct ratbag_device *device, uint16_t wpid);
|
||||
struct hidpp10_device *hidpp10_device_new_from_idx(struct ratbag_device *device, int idx);
|
||||
@@ -474,6 +472,15 @@ hidpp10_read_memory(struct hidpp10_device *dev,
|
||||
uint8_t offset,
|
||||
uint8_t bytes[16]);
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* 0xB2: Device Connection and Disconnection (Pairing) */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
int
|
||||
hidpp10_open_lock(struct hidpp10_device *device);
|
||||
int
|
||||
hidpp10_disconnect(struct hidpp10_device *device, int idx);
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* 0xB5: Pairing Information */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user