pez2001 / razer_chroma_drivers

A collection of Linux drivers for Razer Chroma devices, it supports all lighting modes and includes a daemon for advanced effects + gui configuration app
GNU General Public License v2.0
231 stars 31 forks source link

Fixed empty device_type bug #124

Closed ghost closed 8 years ago

ghost commented 8 years ago

Device type string length is now properly returned on read.

terricain commented 8 years ago

You've improved maintainability, but now lost consistency with the other two driver files. Mind updating the device_type function in razerkbd and razerfirefly?

ghost commented 8 years ago

I've updated razerkbd in the same fashion. The razerfirefly driver currently always returns "Razer Firefly\n" for device type, though I suppose it could return the result of sprintf directly instead of first assigning to write_count for increased consistency with the other attribute read functions.