| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef _LENOVO_PMH7_CFR_H_ |
| 8 |
#define _LENOVO_PMH7_CFR_H_ |
| 9 |
|
| 10 |
#include <drivers/option/cfr_frontend.h> |
| 11 |
|
| 12 |
|
| 13 |
static const struct sm_object touchpad = SM_DECLARE_ENUM({ |
| 14 |
.opt_name = "touchpad", |
| 15 |
.ui_name = "Touchpad", |
| 16 |
.ui_helptext = "Enable or disable the touchpad", |
| 17 |
.default_value = 1, |
| 18 |
.values = (const struct sm_enum_value[]) { |
| 19 |
{ "Disabled", 0 }, |
| 20 |
{ "Enabled", 1 }, |
| 21 |
SM_ENUM_VALUE_END }, |
| 22 |
}); |
| 23 |
|
| 24 |
|
| 25 |
static const struct sm_object trackpoint = SM_DECLARE_ENUM({ |
| 26 |
.opt_name = "trackpoint", |
| 27 |
.ui_name = "Trackpoint", |
| 28 |
.ui_helptext = "Enable or disable the trackpoint", |
| 29 |
.default_value = 1, |
| 30 |
.values = (const struct sm_enum_value[]) { |
| 31 |
{ "Disabled", 0 }, |
| 32 |
{ "Enabled", 1 }, |
| 33 |
SM_ENUM_VALUE_END }, |
| 34 |
}); |
| 35 |
|
| 36 |
#endif |