Skip to main content
Advice
1 vote
3 replies
75 views

I already can get keypresses in my c++ app. I want to get any keypress when running in a terminal on Linux. The terminal is the gnome terminal app running on the Cinnamon desktop. For example, I want ...
TungstenX's user avatar
  • 900
0 votes
0 answers
80 views

I'm trying to modify the popular waybar program (which can be found here). Waybar is a highly customizable status bar that organizes various visual elements into "modules", which can respond ...
Chichri's user avatar
  • 35
0 votes
0 answers
29 views

I am writing a dictionary program with requires switching keyboard layout. I have kde set up that ctrl-alt-k switches layout. I have tried simulating the ctrl-alt-k keypress from the program but this ...
AlanFRCPath's user avatar
0 votes
0 answers
22 views

I am working on two scripts, one that works on a laptop and another that works on a rasberry pi. It should handle the main menu on the laptop, send it to the pi which decodes it and writes it to a csv....
user19018773's user avatar
1 vote
1 answer
69 views

I want to use a Raspberry Pi 5 running Python3 to read the keypresses on a USB connected keypad. I am using sshkeyboard and have read the questions and answers here on that topic, but they only detail ...
John Sullivan's user avatar
-2 votes
1 answer
75 views

The search results are hidden by default/onload/onrefresh via CSS. Results will only shows up if you search in the input field and hit enter or if you hit the button. For example try to search Social ...
clarkf's user avatar
  • 733
1 vote
4 answers
121 views

Try to search "social" in the input field and hit enter, It is working fine. But I want the same functionality if you click the button. I already tried creating a document.getElementById(&...
clarkf's user avatar
  • 733
0 votes
0 answers
33 views

I have a loop that I need to keep looping. Meanwhile I want to know if the user has pressed a key within the loop, but I don't want to have to wait before continuing. This also needs to work in a ...
Daniele Procida's user avatar
0 votes
1 answer
46 views

I have a mini project about a keyboard, I want to know how I can add the addEventListener in my JavaScript code to if I press a key in my own keyboard, show that button in my project and change the ...
Murteza Mohasseliy's user avatar
0 votes
1 answer
100 views

In MAUI, using KeyUp I can capture all the key pressing, but not pressing Enter key. Here is the code: window.Content.KeyUp += (s,e){ //do something } If I press the Enter key of keyboard, nothing ...
renintx's user avatar
  • 35
0 votes
1 answer
118 views

This is a follow-on question to an earlier question ( python tkinter - detecting arrow keys when an alternate key is pressed ) I would also like to be able to detect if the function key is pressed, ...
Bruce Simonson's user avatar
2 votes
2 answers
154 views

I am trying to debug an issue with random key presses being registered even though I have not typed them. I had started the question here. Initially I ran evtest and specified each device. I could ...
Kevin Johnson's user avatar
0 votes
2 answers
134 views

I'm writing an application that will use your's phone as touchpad and simulate different touchpad's gestures by Swift code on Mac. But when I've tried to implement swiping between workspaces (same as ...
BrainPumpkin's user avatar
1 vote
1 answer
79 views

When I press an arrow key, keyPressed is called once, and then after a delay it is called very rapidly, like when holding down a key to type a long string of letters like so: eeeeeeeeeeeeeeeeeeeeeee ...
BobTheDragon's user avatar
-1 votes
1 answer
45 views

I was using keyboard module to track the key presses of the user. But I found this problem while trying this code: Code import keyboard while True: key = keyboard.read_key() if key == 'left'...
SYED MUNEER's user avatar

15 30 50 per page
1
2 3 4 5
175