Questions tagged [arrow-keys]

The up, down, left, and right keys on a keyboard, also known as "cursor keys".

The arrow keys are the up, down, left and right keys on a keyboard, also known as "cursor keys". They are primarily used to move the cursor around on-screen text, and are also often used to move player characters in games.

They behave as normal keys for keyboard events, returning both a Unicode value and a code.

References

363 questions
0
votes
1 answer

Arrow Keys Not Working on Form

We're using Ninja Forms on a particular site and whenever we type something on it, the arrow keys just do not work. I did a research and found something similar presented to this community (here). So I did check the JS files of the site and found…
0
votes
1 answer

Sense up arrow in Python?

I have this script import sys, os, termios, tty home = os.path.expanduser("~") history = [] if os.path.exists(home+"/.incro_repl_history"): readhist = open(home+"/.incro_repl_history", "r+").readlines() findex = 0 for j in readhist: …
baranskistad
  • 2,176
  • 1
  • 21
  • 42
0
votes
0 answers

How to disable arrow keys in Bash

I am using Bash(version 4.3.46(6)) shell in Cygwin mintty terminal on Windows 7 64bit OS, and trying to make simple CUI application using Fortran 90. My simplified source-code is like this. integer :: i character ( len = 500 ) :: mybuffer do write…
Charles
  • 1
  • 2
0
votes
3 answers

Add arrows to bootstrap carousel

I found this code on the internet and I want to learn from it. The following I want to do is add two arrows (without shaddow, only the arrows). One arrow left and one arrow right to move them left and right. I have tried multiple things but nothing…
0
votes
0 answers

Jquery arrow keys gallery navigation

I'm trying to apply arrow navigation to an image gallery using jQuery. My code: function Gallery(sSelector){ var g = this; g.init(sSelector); g.pictures = g.find(".picture"); g.preview = g.find(".preview"); g.arrowPrev =…
I.Swen
  • 61
  • 1
  • 8
0
votes
1 answer

JavaScript or jquery trigger left arrow key press event (Simulate arrow key press)

I am trying to simulate the left and the right arrow key press in a text area within a rad grid control (Telerik). I have a bug that is specific to the browser Firefox where the tab event(got this part fixed) and the arrow keys wont work. Every…
Ryan Gavin
  • 689
  • 1
  • 8
  • 22
0
votes
1 answer

What needs to be passed to an editor from a keyboard app to move the cursor one char left?

What key code does an Android editor app expect the keyboard app to send when it is going to be interpreted as a left arrow? In other words, what is the keyboard program supposed to send to its calling program (some kind of editor) if the user…
yno
  • 1
  • 2
0
votes
1 answer

Make some shapes in OpenGL to be moved with arrow keys - it zooms out instead of moving

Well, I have the following C code on a GLUT Project (I use CodeBlocks). It draw some 2D shapes (something like Robot :p ). I want to make the whole drawing shapes to be moved with the keyboard arrow keys. I have wrote the following, but for some…
user3594130
  • 27
  • 1
  • 7
0
votes
2 answers

tab and arrow keys weird behavior in redhat

I am facing some weird behavior when trying to ssh to the server by using either Iterm2 or OSX Terminal. Basically, the issue is when using tab for auto-completion, it will print one more random extra char in the end, for example: //the 'e' is…
Jack Zhang
  • 304
  • 1
  • 9
  • 21
0
votes
1 answer

How to Use Arrow Keys to Navigate in Multidimensional Array (3x3x3)?

I'm a beginner learning C# and I'm currently trying to study how to use the keyboard directional arrow keys to navigate between different arrays in a multidimensional array. I'm trying to work with a 3x3x3 dimensional array (cube array) and I want…
5120bee
  • 689
  • 1
  • 14
  • 36
0
votes
1 answer

JAVA- Moving an image with arrow keys

I am making a game for my end-of-year school project, and in my game, a need to be able to move the player around the screen with the arrow keys. I would like to move the image (playerUpImageLabel) with my arrow keys, but I do not know how. I have…
user3704212
  • 1
  • 1
  • 6
0
votes
1 answer

Getting input from arrow keys

I need to code a 2D array and one player in the array, and then I want to move the player with the arrow keys. I googled for methods and libraries and found kbhit(), #include , however those are outdated already. I do not know why this…
Wave
  • 111
  • 1
  • 3
  • 12
0
votes
1 answer

jQuery do stuff when a specific key is pressed

I would like to play the animation "down" when i press down arrow key. $(document).bind("keydown", function(event) { $('#down').toggleClass('down'); }); Also how can i have it not toggled?
Asphys
  • 175
  • 3
  • 15
0
votes
1 answer

Java, cannot find getKeyCode()

i did import java.awt.event.KeyEvent but when i type KeyEvent.get the possible suggestions that the IDE give me are KeyEvent.getKeyText: and other methods for char, what i need to download or import ? All i want is something that let me read…
Judal
  • 3
  • 2
0
votes
1 answer

how to set focus on NSMenu (make it get key events)?

I have a status menu with a NSSearchField and menu items. When search field is active and user presses up & down arrows, I'd like to start menu tracking, that is that the user will be able to move with arrow keys between menu items. I can catch…
Nava Carmon
  • 4,523
  • 3
  • 40
  • 74