code: def __init__(
      self,
      ctrl=None,
      alt=None,
      shift=None,
      meta=None,
      button=None,
      buttons=None,
      **_,
  ):
      self._ctrl = ctrl
      self._alt = alt
      self._meta = meta
      self._shift = shift
      self._button = button
      self._buttons = buttons
  
imports: from __future__ import absolute_import
  from plotly.utils import _list_repr_elided
label_desc: Use image node_id 1 to create a new InputDeviceState object  with example: obj = InputDeviceState(ctrl, alt, shift, meta, button, buttons)