We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a428050 commit cabbf26Copy full SHA for cabbf26
src/hhd/device/claw/__init__.py
@@ -46,6 +46,14 @@ def open(
46
self.context = context
47
self.prev = None
48
49
+ # FIXME: move this somewhere else
50
+ try:
51
+ with open("/sys/bus/serio/devices/serio0/power/wakeup", "w") as f:
52
+ f.write("disabled")
53
+ logger.warning("Disabling keyboard wakeups so volume button does not wake device.")
54
+ except Exception as e:
55
+ logger.error(f"Failed to disable keyboard wakeup wakeup: {e}")
56
+
57
def settings(self) -> HHDSettings:
58
base = {"controllers": {"claw": load_relative_yaml("controllers.yml")}}
59
base["controllers"]["claw"]["children"]["controller_mode"].update(
0 commit comments