screen blanking
- mark-v-d
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 6
01 Jan 2026 17:30 #340843
by mark-v-d
Replied by mark-v-d on topic screen blanking
There is some good information in there, thanks.
Please Log in or Create an account to join the conversation.
- mark-v-d
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 6
03 Jan 2026 10:51 #340912
by mark-v-d
Replied by mark-v-d on topic screen blanking
I've added the following line to hal_input, and it get's me 90% of what I want.
diff --git a/src/hal/user_comps/hal_input.py b/src/hal/user_comps/hal_input.py
index 87c90e716d..3e0a720384 100644
--- a/src/hal/user_comps/hal_input.py
+++ b/src/hal/user_comps/hal_input.py
@@ -165,6 +165,7 @@ class HalInputDevice:
print("Unexpected event", ev.type, ev.code, file=sys.stderr)
continue
if ev.type == 'EV_KEY':
+ subprocess.call(["xdotool", "key", "Control_L"])
if ev.value:
self.set(code, 1)
self.set(code + "-not", 0)
diff --git a/src/hal/user_comps/hal_input.py b/src/hal/user_comps/hal_input.py
index 87c90e716d..3e0a720384 100644
--- a/src/hal/user_comps/hal_input.py
+++ b/src/hal/user_comps/hal_input.py
@@ -165,6 +165,7 @@ class HalInputDevice:
print("Unexpected event", ev.type, ev.code, file=sys.stderr)
continue
if ev.type == 'EV_KEY':
+ subprocess.call(["xdotool", "key", "Control_L"])
if ev.value:
self.set(code, 1)
self.set(code + "-not", 0)
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.066 seconds