synapse.h 609 B

123456789101112131415161718192021222324252627
  1. #ifndef RAZER_SYNAPSE_H_
  2. #define RAZER_SYNAPSE_H_
  3. #include "librazer.h"
  4. #include <stdint.h>
  5. enum razer_synapse_features {
  6. RAZER_SYNFEAT_RGBLEDS = (1 << 0), /* RGB LEDs supported */
  7. };
  8. int razer_synapse_init(struct razer_mouse *m,
  9. void *drv_data,
  10. unsigned int features);
  11. void razer_synapse_exit(struct razer_mouse *m);
  12. void * razer_synapse_get_drv_data(struct razer_mouse *m);
  13. int razer_synapse_set_led_name(struct razer_mouse *m,
  14. unsigned int index,
  15. const char *name);
  16. const char * razer_synapse_get_serial(struct razer_mouse *m);
  17. #endif /* RAZER_SYNAPSE_H_ */