code: def mode_group(self):
  		
  
  		hmodegroup = self._libinput.libinput_event_tablet_pad_get_mode_group(
  			self._handle)
  		return TabletPadModeGroup(hmodegroup, self._libinput)
docs: The mode group that the button, ring, or strip that
  		triggered this event is considered in.
  
  		The mode is a virtual grouping of functionality, usually based on some
  		visual feedback like LEDs on the pad. See `Tablet pad modes`_
  		for details.
  
  		Returns:
  			~libinput.define.TabletPadModeGroup: The mode group of the button,
  			ring or strip that caused this event.