ckb-next
beta-v0.2.8 at branch testing
ckb-next driver for corsair devices
Main Page
Related Pages
Data Structures
Files
File List
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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 Feb 3 2018 14:44:01 for ckb-next by
1.8.6