Questions tagged [keyboard]

A text input device. Use this tag to ask programming questions related to typing, keyboard hiding and more.

What topics don't belong here?

If your question is about:

  • Making a (physical) keyboard: See electronics.SX. (Of course, if you want to implement/imitate a keyboard in software — e.g. an on-screen keyboard — then go right ahead and ask.)

  • Configuring your keyboard: See superuser.com, unix.SX, or another site that covers using computer systems — Stack Overflow is about programming them.

  • Interfacing with a device resembling a piano: This is not the tag you're looking for. Move along.

12648 questions
5
votes
3 answers

How to programmatically change keyboard in iOS?

I would like to programmatically change keyboard when I click a button event. I used custom keyboard in my app, but I need to change English (US) keyboard in programmatically when I click a button on my custom keyboard.
Fire Fist
  • 7,032
  • 12
  • 63
  • 109
5
votes
2 answers

Programmatically Simulate Keyboard Events on the iPhone

I was wondering if it would be possible to simulate keyboard events - like key down and key up characters - and send them to the iOS device. Basically, I want to simulate a user pressing a key on the keyboard.
colt
  • 89
  • 1
  • 9
5
votes
2 answers

Capture and send keyboard / mouse input in C#

I am looking for a way to send and receive keyboard information regardless of what app has focus. I remember back in College seeing a presentation about an old Windows API that let you change the cursor position and send right clicks and…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
5
votes
5 answers

ALT+CMD+R stopped working

I am using Mac and Eclipse. I used to use ALT+CMD+R for name refactoring. Unfortunatelly this key stopped working and using this key I write ® (only in Eclipse). ALT+CMD+R is still correctly defined in Keys section of Eclipse preferences. What could…
sealskej
  • 7,281
  • 12
  • 53
  • 64
5
votes
2 answers

Catching Qt modifier key releases

I'm a newcomer to Qt, but I'm trying to implement what basically amounts to a video-game-esque input loop in a Qt application (crazy, I know, but see if you can help). I need accurate, one-to-one event handling for key presses and key releases, for…
Charles Pence
  • 300
  • 3
  • 13
5
votes
3 answers

How to click on soft keyboard 'search' button with Robotium test?

I want to test next thing with Robotium: enter some text in search field, this I did, and click on soft keyboard 'search' button (android:imeOptions=actionSearch) which I am failing to do. I tried with solo.sendKey(Solo.Enter) but no success. I am…
ezamur
  • 2,064
  • 2
  • 22
  • 39
5
votes
1 answer

How to keep all fields and texts visible while the soft keyboard is shown

I'm working in this login screen, and I want all fields, texts and buttons to resize when the IME is shown. I've already used the android:windowSoftInputMode="adjustResize" on androidManifest.xml, but i'm still getting some elements underneath…
Lucas Jota
  • 1,863
  • 4
  • 24
  • 43
5
votes
2 answers

Iphone Keyboard Transparency

First I'm so newb to iPhone dev and I'm sorry if this is easy. Is it possible to change the amount of transparency on the iPhone keyboard (or even the color if that's possible). I know you can acquire a reference to the keyboard view (link…
TEEKAY
  • 1,156
  • 1
  • 10
  • 25
5
votes
2 answers

Windows 7 Map CTRL + j to the Down Arrow Key

I have been searching for months for a way to map a key combination (CTRL + something) to a directional key (like down or up). I desperately want in Visual Studio to be able to press CTRL + j and have the cursor move down a line. I hate having to…
omatase
  • 1,551
  • 1
  • 18
  • 42
5
votes
3 answers

Detect the current input character in UITextField(iOS)

I want to know the current input character the user just inputted.Comparing the old and the new input string seems to work, but it must be the last thing I'd like to try.Any suggestion? I guess there are some methods in iOS SDK that can do this in a…
anna
  • 662
  • 5
  • 28
5
votes
2 answers

How to change current keyboard layout in powershell?

I have two languages set in my windows settings - Czech (default) and English (for programming). I want to switch between them in powershell. I generally work in Czech language, and it is my default language on my PC. So whenever I (re)start any…
jumbo
  • 4,670
  • 5
  • 39
  • 44
5
votes
5 answers

Alternative for C-key in Emacs?

Only a full week on emacs in windows now, I can feel the CTRLkey combinations are beginning to hurt. Nobody suffers RSI because of emacs :-) ? Is there any way to choose another key for a while (the M-key is replaceable by the ESC key I have…
Peter
  • 47,963
  • 46
  • 132
  • 181
4
votes
1 answer

How to disable EditText's keyboard and cursor functions..?

I making an application with my own keyboard and I want to completely DISABLE the android default virtual keyboard. I tried this: myEditText.setOnClickListener(new OnClickListener() { public void onClick(View v) { …
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
4
votes
1 answer

Can you make

In HTML, if you want to make arbitrary elements keyboard-focusable, you can add the attribute tabindex="0" to them (as per e.g. http://snook.ca/archives/accessibility_and_usability/elements_focusable_with_tabindex). The HTML5 spec sort of ratifies…
Paul D. Waite
  • 96,640
  • 56
  • 199
  • 270
4
votes
2 answers

How to set/call an new input method in Android

I followed these two exemples of developer.android (Creating an Input Method, Soft Keyboard sample). Think everything is correct, but the custom keyboard dont shows up. Sorry but i dont understand the code, how i call this new keyboard? thanks for…
user1279395
  • 108
  • 1
  • 7
1 2 3
99
100