forked from drath/libratbag
28a94d0974c3f868e5ada47c6859936c73dbace4
Two components are added here: a test driver that takes a struct ratbag_test_device and sets that device up as a ratbag device. That device is returned to the tests and then checked for sanity. The ratbag_device_new_test_device() requires the environment variable RATBAG_TEST set, otherwise we abort. It's also 'hidden' in a separate source file, so it won't show up in doxygen. And if the test are disabled, this function does nothing and the test driver never gets registered. 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%