627 questions
0 votes
1 answer
51 views
Recognize the exact process that sent the keystroke in Python
I'm trying to build a program that recognizes keystrokes and also the exact process that sent it, so the source. For example, if I press the character 'g' on my keyboard, it should recognize the ...
0 votes
0 answers
120 views
How to make bindingsource add new only limit one row in DataGridView with vb.net
I'm Trying to make bindingsource add new only limit one row in DataGridView with vb.net So if the user doubles tab in the keyboard, two empty rows appear in the DataGridView or avoiding double addnew(...
2 votes
0 answers
157 views
Intercepting soft keyboard input on Android to avoid double taps caused by shaky hands [duplicate]
The technical problem is to intercept keystrokes to all apps on an Android and edit them to remove double letters. A friend with Parkinson's disease has problems with txt messages and emails because ...
0 votes
0 answers
62 views
Place the caret at the beginning of the JTextArea after pasting text
I would like the caret of a JTextArea to be positioned at the beginning of the first line after pressing CTRL+V. I have tried this code but it does not work, however, I noticed that by replacing the ...
0 votes
0 answers
111 views
In Javascript event.key not returning keypresses for hangul characters in console.log
I have been having trouble with Hangul (KO) character input on an html5 webpage that uses Ajax. console.log will not log the keystrokes for Hangul, but it will log English keystrokes. The code that is ...
-2 votes
1 answer
145 views
Type keystrokes to remove highlighting and watermark before sending an email
I have a .oft template to use when sending an email with a quote attached. It includes highlights of the quote. For example number of days, etc. I manually type CTRL+A, ALT, O, I, N, ALT, P, PC, N. ...
0 votes
1 answer
88 views
How to get the key from the ActionMap
I was wondering how I could get the key code from an AbstractAction in the action map. for (int key = 37; key <= 122; key++) { this.key = key; if(!KeyEvent.getKeyText(key).contains("...
0 votes
0 answers
33 views
Creating keystroke issue in Android Studio
I am creating my first android app using android studio electric ell, But every time i tried to create keystroke and after inserting all required data, the message "Failed to create keystroke&...
0 votes
1 answer
50 views
How can I read input from a numpad while blocking its keystrokes in mac os?
This person has a similar project but for linux: https://unix.stackexchange.com/questions/343305/disable-keyboard-but-still-allow-reading-from-it What I'm trying to do is make a numpad act like a ...
0 votes
1 answer
132 views
Is there a way to limit Python's keyboard.add_hotkey() to trigger only once per keystroke?
import keyboard def on_c_pressed(): print("C key was pressed") keyboard.add_hotkey('c', on_c_pressed) Current situation is that it fires rapidly as the keystroke is actuated and being ...
1 vote
2 answers
98 views
C# ASP.NET - User keystroke validation and input character into correct place
I am looking to have a time field that starts with 00:00 which is the exact format I want. As the user types the time I want to read the keystroke and place it within my preassigned value. --Edit-- ...
1 vote
0 answers
173 views
SDL Keyboard Combinations issue
Im writing a program using SDL (libsdl2-dev (version: 2.0.14+dfsg2-3+deb11u1)). I have a keyboard event handler that has been working well for me when I ran into an issue using certain keystroke ...
0 votes
0 answers
418 views
Failed to get default debug keystore location - gradle
When syncing my project's gradle, I get the error Failed to get default debug keystore location. Somebody help me. LOG: build.gradle error I read another forum and tried to see the solution, because I ...
1 vote
0 answers
428 views
Hammerspoon Keystroke not working on new MAC
I used to have hammerspoon configured on my previous MAC but when I switched to the new MAC (M1) the keystroke is not working while other functions are. Any idea if the new MAC could be blocking ...
0 votes
0 answers
137 views
Replace text on the fly while typing in EMACS?
I'm creating a major mode for editing Algol source files which are written using Unicode characters. (add-to-list 'auto-mode-alist '("\\.a60\\'" . algol-mode)) I want to have the following ...