Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Command Line args are not populated #111

Open
gonX opened this issue Dec 4, 2023 · 0 comments
Open

Console Command Line args are not populated #111

gonX opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request wiki Improvements or additions to the wiki

Comments

@gonX
Copy link
Member

gonX commented Dec 4, 2023

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.

@gonX gonX added enhancement New feature or request wiki Improvements or additions to the wiki labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wiki Improvements or additions to the wiki
Projects
None yet
Development

No branches or pull requests

1 participant