mouse_m908/include/print_help.cpp

41 lines
1.9 KiB
C++
Raw Normal View History

2019-11-08 17:10:30 -07:00
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*/
#include <iostream>
//prints a help message
void print_help(){
2020-08-29 09:00:34 -06:00
std::cout << "mouse_m908: Control various Redragon gaming mice.\n";
2020-02-07 20:49:57 -07:00
std::cout << "GPLv3 or later.\n\n";
2020-02-07 20:34:17 -07:00
std::cout << "Options:\n\n";
2020-02-07 20:49:57 -07:00
2019-11-08 17:10:30 -07:00
std::cout << "-h --help\n\tDisplays this message.\n";
2020-05-11 08:49:58 -06:00
std::cout << "-c --config=arg\n\tLoads and applies settings from specified file.\n";
std::cout << "-p --profile=arg\n\tSets currently active profile (1-5).\n";
std::cout << "-m --macro=arg\n\tSelects macro file for sending.\n";
std::cout << "-n --number=arg\n\tSelects macro slot for sending (1-15).\n";
std::cout << "-b --bus=arg\n\tUSB bus id, requires -d.\n";
std::cout << "-d --device=arg\n\tUSB device number, requires -b.\n";
std::cout << "-k --kernel-driver\n\tDo not attempt to detach kernel driver.\n";
2020-05-02 08:50:55 -06:00
std::cout << "-v --version\n\tPrint version.\n";
2020-05-11 08:49:58 -06:00
std::cout << "-R --read=arg\n\tRead settings from the mouse and print configuration to the specified file (\"-\" = stdout).\n";
std::cout << "-D --dump=arg\n\tRead settings from the mouse and dump the raw data to the specified file (\"-\" = stdout).\n";
2020-11-12 07:10:59 -07:00
std::cout << "-M --model=arg\n\tSpecifies the mouse model (709, 711, 715, 908, 990, generic).\n";
2019-11-08 17:10:30 -07:00
}