Commit Graph

16 Commits

Author SHA1 Message Date
Bilal Elmoussaoui
c7772df9aa docs: Document most of the public APIs 2023-05-23 12:34:01 +02:00
Bilal Elmoussaoui
ab157df65d tools/mks: Cosmetic changes
- Prefer dark style: per the HIG recommendations 
- Sets a slightly bigger default size
2023-05-09 18:58:16 +00:00
Christian Hergert
78d955cde8 tools: remove unused variable 2023-02-21 17:11:22 -08:00
Christian Hergert
a38ab5834e build: allow installing tools for testing 2023-02-17 16:27:21 -08:00
Christian Hergert
c0cf407713 tools: show grab binding during inhibition 2023-02-17 16:11:06 -08:00
Christian Hergert
d20dcd2674 lib: start on MksDisplay widget 2023-02-13 21:53:57 -08:00
Christian Hergert
da98c77961 tools: set content-fit for now
Until we have another widget to replace this.
2023-02-13 20:56:08 -08:00
Christian Hergert
01dab99590 lib: add MksCairoFramebuffer
This adds MksCairoFramebuffer which does tessellation to get damage regions
for the framebuffer. Still some bugs involved, but good enough to get some
bits on the screen which is what I'm looking for right now.
2023-02-13 17:38:30 -08:00
Christian Hergert
b601d253aa tools: add mks tool for testing
Mostly so I can test the paintable implementation as I go.
2023-02-10 16:30:23 -08:00
Christian Hergert
8898636ac4 lib: add MksScreen:device-address
Can be handy when troubleshooting things, so wrap that too.
2023-02-09 03:21:43 -08:00
Christian Hergert
c35baef43e lib: add MksMouse:is-absolute property 2023-02-09 03:10:42 -08:00
Christian Hergert
4075f1c2ba lib: expose keyboard modifiers as flags property 2023-02-09 02:47:42 -08:00
Christian Hergert
65ee3e10ae tools: print keyboard/mouse info under screen 2023-02-09 02:29:32 -08:00
Christian Hergert
ed5b34769a tools: fix ownership of devices listmodel 2023-02-09 02:20:54 -08:00
Christian Hergert
88df8b1780 tools: print devices connected to session 2023-02-09 01:37:10 -08:00
Christian Hergert
5d012259d9 initial commit
This library doesn't do much yet. It contains the scaffolding and the
rough shape of what I think the API should be in mks-types.h. Some of the
types have some skeleton implementation as well to hid the D-Bus API
behind those types.

The next steps are to fill out the other wrapper objects and see what
properties we should expose from the underlying D-Bus proxies.

Along with that, will be a GtkWidget which can have a number of properties
set on it to specify the MksScreen, MksKeyboard, and MksMouse devices. It
may make sense to attach the session + screen to the widget, so that it can
adapt to keyboard and mouse changes though.
2023-02-08 18:06:08 -08:00