keyboard-events Questions
4
Solved
My use case
I need to know when a (specific) key is pressed and held down. The use case after detection is fairly easy. When the key is released, send a signal to stop the callback (which I know al...
Linoleum asked 20/4, 2021 at 13:0
4
Solved
I am trying to add an "KeyPress" event in a textbox (WinForm)
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(CheckKeys);
and here's inside the 'CheckKeys':
private void...
Shilling asked 3/4, 2010 at 12:58
8
Solved
I am studying the Godot Engine and GDScript and I searched on the internet about keyboard events, but I didn't understand. Is there something in Godot like: on_key_down("keycode")?
Known asked 4/9, 2017 at 22:37
5
Solved
I need to close the modal also using the "ESC" key, at the moment it is closing the "CLOSE" and "CONFIRM" button. i'm using reactstrap, react hooks.
keyboard {show} an...
Wilkens asked 24/7, 2020 at 13:29
1
I am using cdk-virtual-scroll-viewport in my mat-autocomplete. scroll works fine whenever scroll using mouse but not working whenever pressing keydown button.
Expected Behavior:
If the focus goes ...
Tangerine asked 7/1, 2020 at 12:45
3
Solved
I can trigger click event on element selector using trigger
$('element selector').trigger('click')
Is it possible to trigger shift click. I mean shift + left mouse click.
Overnight asked 6/3, 2015 at 9:33
20
Solved
I would like to detect whether the user has pressed Enter using jQuery.
How is this possible? Does it require a plugin?
It looks like I need to use the keypress() method.
Are there browser issues w...
Appointive asked 11/6, 2009 at 6:39
17
I am using react-native TextInput component. Here I need to show the InputBox above the keyboard if the user clicks on the textInput field.
1. Keyboard avoiding view
Here it shows some empty space...
Paranoid asked 6/2, 2019 at 6:27
2
In Flutter, I'm looking to use keyboard events, issue is that when I press arrow down key, action happens both on keyDown and keyUp event, in code example code will print word down two times, on ke...
Captivity asked 7/10, 2021 at 8:13
3
Solved
I'd like to trigger an event in AutoHotkey when the user double "presses" the esc key. But let the escape keystroke go through to the app in focus if it's not a double press (say within the space o...
Minutely asked 25/11, 2009 at 2:17
22
Solved
How do I detect when one of the arrow keys are pressed? I used this to find out:
function checkKey(e) {
var event = window.event ? window.event : e;
console.log(event.keyCode)
}
Though it work...
Tab asked 8/4, 2011 at 15:9
7
Solved
I am playing around with some graphics, and I have implemented simple camera movement with the arrow keys. My first approach was to override keyPressEvent to do something like this:
switch(key)
{
...
Athanasius asked 12/9, 2011 at 22:13
4
Is there any way to check if keyboard is open or not in Xamarin Forms? Are there any events getting fired when the keyboard opens or closes? If so, where can I find an example of it?
Gillespie asked 22/9, 2017 at 8:31
2
I'm looking for a way to post a MudForm upon pressing Enter from any control inside the form, without checking each keyboardevent argument and filtering for Enter, and without binding the listener ...
Unmanly asked 15/2, 2022 at 13:11
2
I'd like to simulate a keypress into an INPUT object.
I can't just set the element value because of the way the field is processed.
Looks like the solution has to do with dispatchEvent and Keyboa...
Hepatitis asked 13/4, 2020 at 14:30
3
Solved
I'm trying to detect key presses like "Enter", "Delete" and "Backspace" within flutter. My issue with using a RawKeyboardListener is that it takes focus away from any child widgets.
For example
R...
Navada asked 23/1, 2020 at 2:0
2
I am trying to build Tetris Game similar to javidx9 tutorial in C++, but using Swift Command Line Tool in Xcode. I do not plan to use any GUI and display game layout as String of characters. To pla...
Tanjatanjore asked 11/11, 2021 at 4:4
6
Solved
I was trying the to-do list example from Microsoft.
I want to add a todo item, but instead of pressing the button with a mouse click I want to press the enter key. I'm not happy with using JS like ...
Sural asked 12/9, 2020 at 13:57
15
Solved
I want to handle F1-F12 keys using JavaScript and jQuery.
I am not sure what pitfalls there are to avoid, and I am not currently able to test implementations in any other browsers than Internet Ex...
Sidsida asked 8/1, 2009 at 14:26
4
If i open https://v2.vuejs.org/v2/guide/forms.html#Text and edit text - no effect on typing text in mobile chrome. @keyup @input @keypress - v-model does not change when I'm typing
<input v-mode...
Tellurium asked 31/5, 2018 at 6:21
4
Solved
Here I have sample window with a grid. I need to capture event when key is pressed. But it is not raising when I click grid area and then press key. It will work only if Textbox is focused. I know ...
Balm asked 6/3, 2013 at 7:10
3
Solved
I was asked to implement ctrl+mousewheel event for our page site in order to change image offset on user zoom in or zoom out. I found this old answer Override browsers CTRL+(WHEEL)SCROLL with javas...
Fumy asked 12/10, 2015 at 14:19
0
I am working on an iPad application that has both Portrait and Landscape orientation. The issue that I am facing is regarding the the popup presentation that iPad shows you for saving password whil...
Recor asked 29/9, 2022 at 16:32
5
Solved
We are creating a web user interface that looks like a desktop window.
Now we need to handle the Alt key. When Alt key is pressed the focus goes to the upper menu.
In Javascript, how to get the eve...
Ambit asked 10/7, 2012 at 11:11
4
Solved
I want to prevent number input on keydown event on textfield and run custom handler function. Here are the issues
e.target.value is useless since the key value is not projected into the target va...
Blowhole asked 31/3, 2013 at 9:52
1 Next >
© 2022 - 2025 — McMap. All rights reserved.