mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Make help more selective from binary name
This commit is contained in:
parent
c887ad1773
commit
b87c2595a7
2
TODO.md
2
TODO.md
@ -14,7 +14,7 @@
|
|||||||
ArchLinux (in AUR): g810-led-git
|
ArchLinux (in AUR): g810-led-git
|
||||||
|
|
||||||
## Tasks (Assigned to MatMoul but you can participate) :
|
## Tasks (Assigned to MatMoul but you can participate) :
|
||||||
* (0%) Avoid sending keys that not supported by a keyboard model
|
* (20%) Avoid sending keys that not supported by a keyboard model
|
||||||
* (0%) Add deamon mode for custom effects
|
* (0%) Add deamon mode for custom effects
|
||||||
|
|
||||||
## Tasks (Assigned to MatMoul) :
|
## Tasks (Assigned to MatMoul) :
|
||||||
|
@ -56,25 +56,36 @@ namespace help {
|
|||||||
cout<<"-------------"<<endl;
|
cout<<"-------------"<<endl;
|
||||||
cout<<endl;
|
cout<<endl;
|
||||||
cout<<"Group List :"<<endl;
|
cout<<"Group List :"<<endl;
|
||||||
cout<<" logo"<<endl;
|
|
||||||
cout<<" indicators"<<endl;
|
cout<<" logo"<<endl; // need confirmation for g410
|
||||||
cout<<" gkeys"<<endl;
|
if (cmdName != "g410-led") cout<<" indicators"<<endl;
|
||||||
|
if (cmdName != "g910-led") cout<<" gkeys"<<endl;
|
||||||
cout<<" fkeys"<<endl;
|
cout<<" fkeys"<<endl;
|
||||||
cout<<" modifiers"<<endl;
|
cout<<" modifiers"<<endl;
|
||||||
cout<<" multimedia"<<endl;
|
if (cmdName != "g410-led") cout<<" multimedia"<<endl;
|
||||||
cout<<" arrows"<<endl;
|
cout<<" arrows"<<endl;
|
||||||
cout<<" numeric"<<endl;
|
if (cmdName != "g410-led") cout<<" numeric"<<endl;
|
||||||
cout<<" functions"<<endl;
|
cout<<" functions"<<endl;
|
||||||
cout<<" keys"<<endl;
|
cout<<" keys"<<endl;
|
||||||
cout<<endl;
|
cout<<endl;
|
||||||
cout<<endl;
|
cout<<endl;
|
||||||
|
|
||||||
|
// need confirmation for g410
|
||||||
|
if (cmdName == "g610-led") {
|
||||||
|
cout<<"Group logo :"<<endl;
|
||||||
|
cout<<" logo (Need confirmation)"<<endl;
|
||||||
|
cout<<" logo2 (Need confirmation)"<<endl;
|
||||||
|
} if (cmdName == "g910-led") {
|
||||||
cout<<"Group logo :"<<endl;
|
cout<<"Group logo :"<<endl;
|
||||||
cout<<" logo"<<endl;
|
cout<<" logo"<<endl;
|
||||||
|
|
||||||
// g910, ... ?
|
|
||||||
cout<<" logo2"<<endl;
|
cout<<" logo2"<<endl;
|
||||||
|
} else {
|
||||||
|
cout<<"Group logo :"<<endl;
|
||||||
|
cout<<" logo"<<endl;
|
||||||
|
}
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
|
||||||
|
if (cmdName != "g410-led") {
|
||||||
cout<<"Group indicators :"<<endl;
|
cout<<"Group indicators :"<<endl;
|
||||||
cout<<" num_indicator, numindicator, num"<<endl;
|
cout<<" num_indicator, numindicator, num"<<endl;
|
||||||
cout<<" caps_indicator, capsindicator, caps"<<endl;
|
cout<<" caps_indicator, capsindicator, caps"<<endl;
|
||||||
@ -82,15 +93,18 @@ namespace help {
|
|||||||
cout<<" game_mode, gamemode, game"<<endl;
|
cout<<" game_mode, gamemode, game"<<endl;
|
||||||
cout<<" back_light, backlight, light"<<endl;
|
cout<<" back_light, backlight, light"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
}
|
||||||
|
|
||||||
// Only g910
|
if (cmdName == "g910-led") {
|
||||||
cout<<"Group gkeys :"<<endl;
|
cout<<"Group gkeys :"<<endl;
|
||||||
cout<<" g1 - g9"<<endl;
|
cout<<" g1 - g9"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
}
|
||||||
|
|
||||||
cout<<"Group fkeys :"<<endl;
|
cout<<"Group fkeys :"<<endl;
|
||||||
cout<<" f1 - f12"<<endl;
|
cout<<" f1 - f12"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
|
||||||
cout<<"Group modifiers :"<<endl;
|
cout<<"Group modifiers :"<<endl;
|
||||||
cout<<" shift_left, shiftleft, shiftl"<<endl;
|
cout<<" shift_left, shiftleft, shiftl"<<endl;
|
||||||
cout<<" ctrl_left, ctrlleft, ctrll"<<endl;
|
cout<<" ctrl_left, ctrlleft, ctrll"<<endl;
|
||||||
@ -103,7 +117,7 @@ namespace help {
|
|||||||
cout<<" shift_right, shiftright, shiftr"<<endl;
|
cout<<" shift_right, shiftright, shiftr"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
|
||||||
// Exclude g610
|
if (cmdName != "g410-led" || cmdName != "g910-led") {
|
||||||
cout<<"Group multimedia :"<<endl;
|
cout<<"Group multimedia :"<<endl;
|
||||||
cout<<" mute"<<endl;
|
cout<<" mute"<<endl;
|
||||||
cout<<" play_pause, playpause, play"<<endl;
|
cout<<" play_pause, playpause, play"<<endl;
|
||||||
@ -111,6 +125,7 @@ namespace help {
|
|||||||
cout<<" previous, prev"<<endl;
|
cout<<" previous, prev"<<endl;
|
||||||
cout<<" next"<<endl;
|
cout<<" next"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
}
|
||||||
|
|
||||||
cout<<"Group arrows :"<<endl;
|
cout<<"Group arrows :"<<endl;
|
||||||
cout<<" arrow_top, arrowtop, top"<<endl;
|
cout<<" arrow_top, arrowtop, top"<<endl;
|
||||||
@ -119,7 +134,7 @@ namespace help {
|
|||||||
cout<<" arrow_right, arrowright, right"<<endl;
|
cout<<" arrow_right, arrowright, right"<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
|
||||||
// Exclude g610
|
if (cmdName != "g410-led") {
|
||||||
cout<<"Group numeric :"<<endl;
|
cout<<"Group numeric :"<<endl;
|
||||||
cout<<" num_lock, numlock"<<endl;
|
cout<<" num_lock, numlock"<<endl;
|
||||||
cout<<" num_slash, numslash, num/"<<endl;
|
cout<<" num_slash, numslash, num/"<<endl;
|
||||||
@ -130,6 +145,7 @@ namespace help {
|
|||||||
cout<<" num0 - num9"<<endl;
|
cout<<" num0 - num9"<<endl;
|
||||||
cout<<" num_dot, numdot, num."<<endl;
|
cout<<" num_dot, numdot, num."<<endl;
|
||||||
cout<<""<<endl;
|
cout<<""<<endl;
|
||||||
|
}
|
||||||
|
|
||||||
cout<<"Group functions :"<<endl;
|
cout<<"Group functions :"<<endl;
|
||||||
cout<<" escape, esc"<<endl;
|
cout<<" escape, esc"<<endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user