config: Allow overriding touchpad state
This commit is contained in:
parent
e54f4b4963
commit
4a385d5535
3 changed files with 40 additions and 10 deletions
|
|
@ -56,6 +56,13 @@ pub enum DeviceState {
|
|||
DisabledOnExternalMouse,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Deserialize, Serialize, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum TouchpadOverride {
|
||||
#[default]
|
||||
None,
|
||||
ForceDisable,
|
||||
}
|
||||
|
||||
impl Default for DeviceState {
|
||||
fn default() -> Self {
|
||||
Self::Enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue