mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-10-30 02:08:36 +00:00
Fix brightness keys (#367)
This commit is contained in:
@@ -79,7 +79,7 @@ class SupportedTypesHolder {
|
||||
return (
|
||||
item: .staticButton(title: ""),
|
||||
actions: [
|
||||
Action(trigger: .singleTap, value: .keyPress(keycode: 144))
|
||||
Action(trigger: .singleTap, value: .hidKey(keycode: NX_KEYTYPE_BRIGHTNESS_UP))
|
||||
],
|
||||
legacyAction: .none,
|
||||
legacyLongAction: .none,
|
||||
@@ -92,7 +92,7 @@ class SupportedTypesHolder {
|
||||
return (
|
||||
item: .staticButton(title: ""),
|
||||
actions: [
|
||||
Action(trigger: .singleTap, value: .keyPress(keycode: 145))
|
||||
Action(trigger: .singleTap, value: .hidKey(keycode: NX_KEYTYPE_BRIGHTNESS_DOWN))
|
||||
],
|
||||
legacyAction: .none,
|
||||
legacyLongAction: .none,
|
||||
|
||||
Reference in New Issue
Block a user