forked from drath/libratbag
d361bcb09fcf96c123804ad713da486c9b4fdc2d
The 2.0 GetProtocolVersion request will fail on 1.0 devices but there is no equivalent for 1.0. The doc even suggests to detect this error to determine whether a device is a 1.0 device. Thus, make it conditional on whether we print the error or not (log it as debug message if turned off). This should be reconsidered when we have everything in place and can think about refacturing. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
/*!@mainpage
libratbag
libratbag is a configuration library for gaming mice. It provides a generic way to access the various features exposed by these mice and abstracts away hardware-specific and kernel-specific quirks.
License
libratbag is licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: [...]
See the COPYING file for the full license information.
*/
Description
Languages
C
84.2%
Python
12.3%
Meson
1.5%
Shell
1.3%
Roff
0.5%
Other
0.2%