[client] lgmp: set the old option names for easier migration by users

This commit is contained in:
Geoffrey McRae
2026-07-30 07:45:58 +10:00
parent 8e81120cfc
commit f2cc3f1959

View File

@@ -111,6 +111,8 @@ static void lgmp_setup(void)
{ {
.module = "lgmp", .module = "lgmp",
.name = "shmDevice", .name = "shmDevice",
.old_module = "app",
.old_name = "shmFile",
.shortopt = 'f', .shortopt = 'f',
.description = "Shared memory file or KVMFR device path", .description = "Shared memory file or KVMFR device path",
.type = OPTION_TYPE_STRING, .type = OPTION_TYPE_STRING,
@@ -121,6 +123,8 @@ static void lgmp_setup(void)
{ {
.module = "lgmp", .module = "lgmp",
.name = "allowDMA", .name = "allowDMA",
.old_module = "app",
.old_name = "allowDMA",
.description = "Allow direct DMA transfers when supported", .description = "Allow direct DMA transfers when supported",
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = true, .value.x_bool = true,
@@ -128,6 +132,8 @@ static void lgmp_setup(void)
{ {
.module = "lgmp", .module = "lgmp",
.name = "framePollInterval", .name = "framePollInterval",
.old_module = "app",
.old_name = "framePollInterval",
.description = "Frame queue polling interval in microseconds", .description = "Frame queue polling interval in microseconds",
.type = OPTION_TYPE_INT, .type = OPTION_TYPE_INT,
.value.x_int = 1000, .value.x_int = 1000,
@@ -135,6 +141,8 @@ static void lgmp_setup(void)
{ {
.module = "lgmp", .module = "lgmp",
.name = "cursorPollInterval", .name = "cursorPollInterval",
.old_module = "app",
.old_name = "cursorPollInterval",
.description = "Pointer queue polling interval in microseconds", .description = "Pointer queue polling interval in microseconds",
.type = OPTION_TYPE_INT, .type = OPTION_TYPE_INT,
.value.x_int = 1000, .value.x_int = 1000,