Namespace

Mks – 1

Mouse, Keyboard, and Screen to QEMU

Version0.1.6
AuthorsChristian Hergert
LicenseLGPL-2.1-or-later
Websitehttps://gitlab.gnome.org/GNOME/libmks
Sourcehttps://gitlab.gnome.org/GNOME/libmks

Build

C headerslibmks.h
pkg-config fileslibmks-1

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation
Gio—2.0 GObject Interfaces and Objects, Networking, IPC, and I/O
Browse documentation
Gdk—4.0 The GTK windowing system abstraction
Browse documentation
Gtk—4.0 The GTK toolkit
Browse documentation

Additional documentation

Classes

Device

An abstraction of a virtualized QEMU device.

Display

Keyboard

A virtualized QEMU keyboard.

Mouse

A virtualized QEMU mouse.

Screen

Session

Session connected to a QEMU VM.

Touchable

A virtualized QEMU touch device.

Structs

ScreenAttributes

Screen attributes.

Enumerations

MouseButton

A mouse button.

ScreenKind

A screen kind.

TouchEventKind

The type of a touch event.

Bitfields

KeyboardModifier

The active keyboard modifiers.

Functions

get_major_version

The major version the library.

get_micro_version

The micro version the library.

get_minor_version

The minor version the library.

init

Initializes the library.

Function Macros

CHECK_VERSION

Compile-time version checking. Evaluates to TRUE if the version of mks is greater than the required one.

DEPRECATED_FOR

DEPRECATED_IN_1_0_FOR

DEVICE_CONST

ENCODE_VERSION

KEYBOARD_CONST

MOUSE_CONST

SCREEN_CONST

TOUCHABLE_CONST

UNAVAILABLE

Constants

MAJOR_VERSION

Mks major version component (e.g. 1 if MKS_VERSION is 1.2.3)

MICRO_VERSION

Mks micro version component (e.g. 3 if MKS_VERSION is 1.2.3)

MINOR_VERSION

Mks minor version component (e.g. 2 if MKS_VERSION is 1.2.3)

VERSION_S

Mks version, encoded as a string, useful for printing and concatenation.