1. 01 May, 2016 1 commit
  2. 09 Apr, 2016 1 commit
  3. 06 Apr, 2016 5 commits
    • Stephen Chandler Paul's avatar
      GdkDeviceTool: Add GdkAxisFlags info to tablet tools · 9e72d24b
      Stephen Chandler Paul authored
      Different tools may have different sets of axes, we should store that
      info somewhere.
    • Stephen Chandler Paul's avatar
      GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type · 8b2fd3ed
      Stephen Chandler Paul authored
      Because there are multiple different types of styluses that can be used with
      tablets, we have to have some sort of identifier for them attached to the
      GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool
      is necessary for matching up a GdkDeviceTool with it's appropriate
      GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the
      GDK_SOURCE_ERASER GdkInputSource of a wayland tablet).
      Signed-off-by: 's avatarStephen Chandler Paul <thatslyude@gmail.com>
    • Carlos Garnacho's avatar
      gdkdevice: Add GdkDevice::tool-changed signal · d5f141a9
      Carlos Garnacho authored
      On the devices and backends that support it, this signal will be emitted
      on slave/floating devices whenever the tool they are interacting with
      changes. These notifications may also work as a sort of proximity events,
      as the tool will be unset when the pen moves too far.
      For backends, gdk_device_update_tool() has been included, all that should
      be done on their side is just calling this whenever any tool might have
    • Carlos Garnacho's avatar
      gdkdevice: Add GdkDeviceTool to identify device tools · 4ba95b09
      Carlos Garnacho authored
      GdkDeviceTool is an opaque object that can be used to identify a given
      tool (eg. pens on tablets) during the app/device lifetime. Tools are only
      set on non-master devices, and are owned by these.
      The accounting functions are made private, the only public call on
      GdkDeviceTool so far is gdk_device_tool_get_serial(), useful to identify
      the tool across runs.
    • Carlos Garnacho's avatar
      device: Add gdk_device_get_axes(), and ::axes property · 0f962f10
      Carlos Garnacho authored
      This returns a GdkAxisFlags, holding the axes currently available
      through this device.
  4. 25 Feb, 2016 1 commit
  5. 14 Dec, 2015 1 commit
  6. 19 Jan, 2015 1 commit
  7. 03 Jul, 2013 1 commit
    • Alexander Larsson's avatar
      gdk: Convert mouse position to doubles, add new getters · e8b38fed
      Alexander Larsson authored
      We've long had double precision mouse coordinates on wayland (e.g.
      when rotating a window) but with the new scaling we even have it on
      X (and, its also in Xinput2), so convert all the internal mouse/device
      position getters to use doubles and add new accessors for the
      public APIs that take doubles instead of ints.
  8. 03 Apr, 2012 1 commit
  9. 09 Mar, 2012 1 commit
  10. 27 Feb, 2012 1 commit
  11. 08 Apr, 2011 1 commit
  12. 24 Dec, 2010 1 commit
  13. 21 Dec, 2010 4 commits
  14. 17 Dec, 2010 1 commit
  15. 15 Dec, 2010 1 commit
    • Carlos Garnacho's avatar
      xi2: Improve device hierarchy handling · be7de347
      Carlos Garnacho authored
      The xi2 device manager now handles slaves being detached and/or
      attached to a master.
      gdk_device_list_slaves() has been added so it is possible to
      know how slaves relate with masters. The other backends (X11 and not)
      don't neeed to to anything special here since their hierarchy is
      fully flat.
  16. 19 Oct, 2010 1 commit
  17. 04 Jun, 2010 1 commit
  18. 25 May, 2010 1 commit