ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
firmware.h
Go to the documentation of this file.
1
#ifndef FIRMWARE_H
2
#define FIRMWARE_H
3
4
#include "
includes.h
"
5
6
// Gets firmware version and poll rate from device. Returns 0 on success.
7
int
getfwversion
(
usbdevice
* kb);
8
9
// Updates firmware with data at the specified path. Prints notifications on success/failure.
10
// Returns 0 if the device is ok or -1 if it needs to be removed.
11
int
cmd_fwupdate
(
usbdevice
* kb,
usbmode
* dummy1,
int
nnumber,
int
dummy2,
const
char
* path);
12
13
#endif // FIRMWARE_H
includes.h
cmd_fwupdate
int cmd_fwupdate(usbdevice *kb, usbmode *dummy1, int nnumber, int dummy2, const char *path)
Definition:
firmware.c:154
usbdevice
Definition:
structures.h:178
getfwversion
int getfwversion(usbdevice *kb)
Definition:
firmware.c:11
usbmode
Definition:
structures.h:83
src
ckb-daemon
firmware.h
Generated on Sat Jan 20 2018 16:59:27 for ckb-next by
1.8.6