Keyboard and Display Management

Description

Module: geocompy.geo.kdm

Definitions for the GeoCOM Keyboard display unit subsystem.

Types

  • GeoComKDM

Definitions

class GeoComKDM(parent: GeoComType)[source]

Keyboard display unit subsystem of the GeoCOM protocol.

This subsystem controls the keyboard and display functions.

Parameters:
parent: GeoComType

The parent protocol instance of this subsystem.

get_display_power_status() GeoComResponse[bool][source]

RPC 23108, KDM_GetLcdPower

Gets the current status of the diplay power.

Returns:

Params:
  • bool: Keep display turned on, do not go into screensaver mode.

Return type:

GeoComResponse

switch_display_power(alwayson: bool) GeoComResponse[None][source]

RPC 23107, KDM_SetLcdPower

Sets the status of the diplay power.

Parameters:
alwayson: bool

Keep display turned on, do not go into screensaver mode.

Return type:

GeoComResponse