Skip to content
  • Christoph Haag's avatar
    aux/bindings: Add "features" to inputs in bindings.json · f9c37d51
    Christoph Haag authored
    In our model we have a "subpath" for each hardware input like "/input/trackpad".
    Each of these hardware inputs has "features" like "click", "touch", "position", "force".
    
    Ideally each of these "features" is bound to some monado input in the "monado_bindings" dict
    but this is not required. bindings.json will know about hardware features even if we don't bind them (yet).
    
    For each of these features bindings.py generates a group of related paths for a single monado binding:
    For a monado input XRT_INPUT_???_TRACKPAD these paths would be generated:
    /user/hand/left/input/trackpad/x
    /user/hand/left/input/trackpad/y
    /user/hand/left/input/trackpad
    f9c37d51
Loading