This is an old revision of the document!


  • The unique identifier of the device
kgi_u_t			id;
  • The identifier of the KgiDisplay the device interacts with
kgi_u_t			dpy_id;
  • Various flags
kgi_device_flags_t	flags;
  • Currently set mode for the device
kgi_mode_t		*mode;
  • Per device instance private data
kgi_private_t		priv;

The three methods of a KGI device are callbacks called by KGI on KGI events:

  • When the device is mapped to its display
kgi_device_map_device_fn	*MapDevice;
  • When the device is unmapped from its display
kgi_device_unmap_device_fn	*UnmapDevice;
  • When a KiiEvent has to be delivered to the KGI device
kgi_device_handle_event_fn	*HandleEvent;

  • kgideviceapi.1521397480.txt.gz
  • Last modified: 2018/03/18 18:24
  • by MarkLinimon