OpenTabletDriver / opentabletdriver.github.io

The next version of OpenTabletDriver.Web
http://opentabletdriver.net/
GNU Affero General Public License v3.0
1 stars 5 forks source link

Console Command Line args are not populated #111

Open gonX opened 11 months ago

gonX commented 11 months ago

Ideally all these should be filled out:

$ otd --help
Description:
  OpenTabletDriver Console Client

Usage:
  otd [command] [options]

Options:
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  loadsettings <file>                                 Load settings from a file
  savesettings <file>                                 Save settings to a file
  applypreset <name>                                  Apply a preset from the Presets directory
  savepreset <name>                                   Save the current settings to the Presets directory
  detect                                              Detects tablets
  getstring <vid> <pid> <index>                       Requests a device string
  setoutputmode <tablet> <mode>                       Sets the output mode
  setfilters <tablet> <filters>                       Sets the filters applied to the current output mode
  settools <tools>                                    Sets the active tools
  setdisplayarea <tablet> <width> <height> <x> <y>    Sets the display area
  settabletarea <tablet> <width> <height> <x> <y>     Sets the tablet area
  <rotation>
  setsensitivity <tablet> <xsens> <ysens> <rotation>  Sets the relative sensitivity
  settipbinding <tablet> <name> <threshold>           Sets the current tip binding
  setpenbinding <tablet> <name> <index>               Sets the current pen button bindings
  setauxbinding <tablet> <name> <index>               Sets the current express key bindings
  setresettime <tablet> <ms>                          Sets the reset time in milliseconds
  setenableclipping <tablet> <isenabled>              Sets whether inputs should be limited to the specified 
                                                      areas
  setenablearealimiting <tablet> <isenabled>          Sets whether inputs outside of the tablet area should be 
                                                      ignored
  setlockaspectratio <tablet> <isenabled>             Sets whether to lock tablet width/height to display 
                                                      width/height ratio
  getcurrentlog                                       Gets the current log
  getallsettings                                      Gets all current settings
  getoutputmode <tablet>                              Gets the current output mode
  getareas <tablet>                                   Gets the current display and tablet area
  getsensitivity <tablet>                             Gets the current relative sensitivity
  getbindings <tablet>                                Gets all current bindings
  getmiscsettings <tablet>                            Gets other uncategorized settings
  getfilters <tablet>                                 Gets the currently enabled filters
  gettools                                            Gets the currently enabled tools
  hasupdate                                           Check for any updates
  installupdate                                       Install update
  listoutputmodes                                     Lists all available output modes
  listfilters                                         Lists all available filters
  listtools                                           Lists all available tools
  listbindings                                        Lists all available binding types
  getdiagnostics                                      Gets diagnostic information
  stdio                                               Open with standard input and output
  editsettings                                        Opens the settings file with the editor defined in the 
                                                      EDITOR environment variable.

Keep in mind that a driver rewrite is underway (OpenTabletDriver/OpenTabletDriver#2772), so many of these settings may change in the future.