Remove debug output

This commit is contained in:
dokutan 2021-03-02 00:02:57 +01:00
parent a04dbcf705
commit add1b5b32e

View file

@ -46,9 +46,6 @@ rd_mouse::mouse_variant rd_mouse::detect(){
// Compare the VID and PID of the current device against the IDs of all mice
variant_loop< rd_mouse::mouse_variant >( [&](auto m){
// TODO! remove
std::cerr << m.get_name() << std::hex << "\t" << vid << ":" << pid << "\t" << (m.has_vid_pid(vid, pid) ? "true" : "false") << "\n";
if( m.has_vid_pid(vid, pid) ){
// setting the vid/pid is required for mice woth multiple ids and is ignored by all other backends
@ -99,9 +96,6 @@ rd_mouse::mouse_variant rd_mouse::detect( std::string mouse_name ){
// Compare the VID and PID of the current device against the IDs of all mice
variant_loop< rd_mouse::mouse_variant >( [&](auto m){
// TODO! remove
std::cerr << m.get_name() << std::hex << "\t" << vid << ":" << pid << "\t" << (m.has_vid_pid(vid, pid) && mouse_name == m.get_name() ? "true" : "false") << "\n";
if( m.has_vid_pid(vid, pid) && mouse_name == m.get_name() ){
// setting the vid/pid is required for mice woth multiple ids and is ignored by all other backends