By introducing logging, facilitate debugging when using as a module. Adding the argument of verbosity to each function produced by this module, users will be able to check errors occurred in internal modules such as hidapi
for example,
from pyjoycon import device
from pyjoycon.joycon import JoyCon
ids = device.get_ids("R", verbose=True)
joycon = JoyCon(*ids, verbose=True)
joycon.get_status(verbose=True)
By introducing
logging
, facilitate debugging when using as a module. Adding the argument of verbosity to each function produced by this module, users will be able to check errors occurred in internal modules such ashidapi
for example,