Namespace

Mks – 1

Mouse, Keyboard, and Screen to QEMU

Version0.1.5
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.

unstable since: 1

Display

unstable since: 1

Keyboard

A virtualized QEMU keyboard.

unstable since: 1

Mouse

A virtualized QEMU mouse.

unstable since: 1

Screen

unstable since: 1

Session

Session connected to a QEMU VM.

unstable since: 1

Touchable

A virtualized QEMU touch device.

unstable since: 1

Structs

ScreenAttributes

Screen attributes.

unstable since: 1

Enumerations

MouseButton

A mouse button.

unstable since: 1

ScreenKind

A screen kind.

unstable since: 1

TouchEventKind

The type of a touch event.

unstable since: 1

Bitfields

KeyboardModifier

The active keyboard modifiers.

unstable since: 1

Functions

get_major_version

The major version the library.

unstable since: 1

get_micro_version

The micro version the library.

unstable since: 1

get_minor_version

The minor version the library.

unstable since: 1

init

Initializes the library.

unstable since: 1

Function Macros

CHECK_VERSION

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

unstable since: 1

DEPRECATED_FOR

unstable since: 1

DEPRECATED_IN_1_0_FOR

unstable since: 1

DEVICE_CONST

unstable since: 1

ENCODE_VERSION

unstable since: 1

KEYBOARD_CONST

unstable since: 1

MOUSE_CONST

unstable since: 1

SCREEN_CONST

unstable since: 1

TOUCHABLE_CONST

unstable since: 1

UNAVAILABLE

unstable since: 1

Constants

MAJOR_VERSION

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

unstable since: 1

MICRO_VERSION

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

unstable since: 1

MINOR_VERSION

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

unstable since: 1

VERSION_S

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

unstable since: 1