keycode Questions
4
Solved
I am building a terminal window in a browser (sth. like ajaxterm) and don't know which escape sequence to send to ssh tunnel (opened via paramiko.SSHClient().invoke_shell(term='linux')).
I have f...
4
I want to add keyboard shortcut key in javafx.
i have scene and want to implement the keyboard shortcut
my code is as follows
getApplication().getScene().setOnKeyPressed(new EventHandler<KeyE...
9
Solved
I am trying this:
<input type="text" placeholder="some text" class="search" onkeydown="search()"/>
<input type="text" placeholder="some text" class="search" onkeydown="search()"/>
wi...
Brandabrandais asked 8/1, 2014 at 14:35
4
Solved
This:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.keypress.aspx
...indicates that I should have access to e.KeyCode in the KeyPress event, but I don't seem to. I'm trying...
3
Solved
So I want to test if visitors of my site have pressed Print Screen button.
As much as I was looking for, there were no information to be found how to do it. All I found was, that ir is supposed to...
Mclyman asked 5/8, 2015 at 14:16
6
Solved
The man page of cat says:
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
What is the M- notation and where is it documented?
Example:
$cat log -A
wrote 262144 bytes from fi...
Hon asked 22/6, 2017 at 8:38
5
Solved
I want to prevent 0 as the first character. But when I focusout and focusin again, then I add "2" in the first, it still run, I want should not run.
Here is my HTML
<input type="number" id="te...
Headstone asked 6/12, 2016 at 1:55
7
Solved
I've seen some forums posts about different browsers reporting different keyCodes, but everyone seems so avoid the "why?".
I was trying to capture the colon (:) keyCode and realized that ...
Medeiros asked 7/10, 2010 at 16:2
5
Solved
In VB.NET 2008, I used the following statement:
MyKeyChr = ChrW(e.KeyCode)
Now I want to convert the above statement into C#.
Any Ideas?
Zampino asked 19/5, 2011 at 14:52
9
Solved
According to MDN, we should most definitely not be using the .keyCode property. It is deprecated:
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
On W3 school, this fact is p...
Draff asked 14/2, 2016 at 17:40
6
Solved
I need a function that, given a character, returns the CGKeyCode associated with the position of that character on the current keyboard layout. E.g., given "b", it should return kVK_ANSI_B if using...
Puggree asked 17/12, 2009 at 1:0
8
Solved
I'm using CGEventCreateKeyboardEvent and need to know what CGKeyCode values to use.
Specifically, I am after the key code for the Command key. The docs give examples for other keys: z is 6, shift ...
Syntax asked 8/7, 2010 at 10:23
13
Solved
I want to convert lowercase chars to uppercase as the user types using javascript. Any suggestions are welcome.
I have tried the following:
$("#textbox").live('keypress', function (e) {
if (e.wh...
Cherice asked 6/4, 2011 at 18:57
6
Solved
I'd just like to know the range(s) of JavaScript keyCodes that correspond to typeable characters; or alternatively, the range of non-typeable (control) characters like backspace, escape, command, s...
Disaccredit asked 17/9, 2012 at 21:17
4
Solved
I am trying to disable all shortkeys when certain keys (Ctrl/Shift) are clicked.
This is my quick snippet:
$(document).keyup(function(b) {
if (b.keyCode == 16) {return false;}
if (b.keyCode =...
7
How to convert the keycode into char or string??
Here is the example code:
public boolean onKey(View v, int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
//Log.d("EditText", "It...
Sliding asked 4/7, 2011 at 11:50
11
Solved
I'm coding a function in jquery that executes if Ctrl+R is pressed but I can't seem to find out what the left and right ctrl keycodes are... Can someone please help?
UPDATE
///this works
$(docu...
8
Solved
I have to know what key is pressed, but not need the code of the Character, i want to know when someone press the 'A' key even if the key obtained is 'a' or 'A', and so with all other keys.
I can'...
6
I'd created EditText with following.
<EditText
android:id="@+id/et_regis_num"
android:maxLines="1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:digits=...
Golda asked 28/7, 2016 at 10:32
4
Solved
I'm writing a Perl script that reads data from the infamous /dev/input/event* and I didn't find a way to translate the key codes generated by the kernel into ASCII.
I'm talking about the linux ke...
8
Solved
I am trying to allow users enter only numbers and copy and paste control to the textbox. I am able to restrict user to enter only numbers but copy,paste is not working for me help me to fix this.
...
Jansen asked 21/10, 2015 at 4:39
3
Currently I'm developing a LG webOS application (using Vue.js). Everything works fine, except the fact that when I press the back button on the remote, the back event does not fire. This causes tha...
Fictionist asked 21/8, 2019 at 8:19
5
Solved
I want to turn keyevent keycode value into a string or a char value. Either one would do.
For example, when I press 'SPACE', which 'lets say' has a keycode 20, and I want to convert that value to ...
7
I am trying to map a virtual keycode to a char.
My code uses ProcessCmdKey to listen to WM_KEYDOWN which gives me access to the key pressed. For example, when I press single quote I get a key of 2...
Oho asked 25/11, 2008 at 20:44
4
Solved
I have checked other questions here at SO, however they do not answer my question. I want to simply catch certain keyCode and replace it with another. I am working with characters, not white spaces...
Destructor asked 8/1, 2012 at 9:27
1 Next >
© 2022 - 2025 — McMap. All rights reserved.