aboutsummaryrefslogtreecommitdiffstats
path: root/librazer/synapse.h
blob: be6b87e452ebb9a41245c5139e5663d790c507f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef RAZER_SYNAPSE_H_
#define RAZER_SYNAPSE_H_

#include "librazer.h"

#include <stdint.h>


enum razer_synapse_features {
	RAZER_SYNFEAT_RGBLEDS	= (1 << 0),	/* RGB LEDs supported */
};

int razer_synapse_init(struct razer_mouse *m,
		       void *drv_data,
		       unsigned int features);
void razer_synapse_exit(struct razer_mouse *m);

void * razer_synapse_get_drv_data(struct razer_mouse *m);

int razer_synapse_set_led_name(struct razer_mouse *m,
			       unsigned int index,
			       const char *name);

const char * razer_synapse_get_serial(struct razer_mouse *m);

#endif /* RAZER_SYNAPSE_H_ */
bues.ch cgit interface