File: synapse.h

package info (click to toggle)
razercfg 0.43-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 860 kB
  • sloc: ansic: 12,178; python: 1,825; sh: 183; makefile: 26
file content (26 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (4)
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_ */