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

Determining HID interface to be POS or Keyboard in C++

I've got some bar code scanner devices that can handle a variety of USB interfaces (COMM Emulation, HID Keyboard, HID POS, etc.) The problem is that, while I can tell if the device is in a HID mode, I need to be able to determine if it's HID…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
5
votes
6 answers

iPhone keyboard with 0-9 and decimal point?

I'm writing an iPhone app that has a textField for the user to enter a "dollar amount" like 12.34 None of the SDK keyboards seem to have a decimal point. (OR do they?) So I decided to just let the user type in "1234" and I would add the decimal…
Donna
  • 237
  • 1
  • 4
  • 7
5
votes
2 answers

Long strings in system Keyboard plist settings

I try add my own characters in keyboard. I expand key 'z' by code to "Keyboard-en.plist": "Roman-Accent-z" = { Keycaps = "z mylongstringtitle ..."; // ... == \U017e \U017a \U017c characters ('z' with apostrophes and dots) Strings = "z…
Tapa Save
  • 4,769
  • 5
  • 32
  • 54
5
votes
1 answer

Why doesn't this keyboard intercepting kernel extension work?

my fellow developers! I hope very much that at least some of you will not get frightened by the amount of text this question contains (I simply did my best to be as descriptive as humanely possible). :) To those who think I've asked this question to…
Ivan Karpan
  • 1,554
  • 15
  • 20
5
votes
2 answers

The Correct Way to do Custom Keyboards in iOS?

I am looking to implement a custom toolbar that sits above my keyboard for a text field with some custom values. I've found a ton of tutorials online but this question is for asking what's the best way to do this. This tutorial here…
amitsbajaj
  • 1,304
  • 1
  • 24
  • 59
5
votes
1 answer

Black Keyboard on iOS7

I can't seem to be able to get the keyboard to default to black in my code. I've tried the solutions in the other posts with no success. Not sure if I am missing something. I want it to apply to all view controllers so I want to put it in my app…
Jason G
  • 309
  • 3
  • 14
5
votes
1 answer

Julia Keyboard Interrupt

How would I interrupt a Julia command with the keyboard? I'm running it in the Terminal interface. For example, in Python, IDLE permits me to throw an error in a while True loop by pressing ctrl-C. I would like to be able to do the same thing in…
user2569332
  • 555
  • 1
  • 4
  • 12
5
votes
1 answer

How to fix keyboard issues with Cordova 3.1 on iOS?

I just tested Cordova 3.1 with a sample iOS app and experienced several keyboard issues. App settings: Xcode 5 Status bar is hidden Landscape mode config.xml Issues: All versions: when focus on an input field then whole view is pushed up…
Tien Do
  • 10,319
  • 6
  • 41
  • 42
5
votes
2 answers

error appears when I type on UITextfield with physical keyboard in iOS7

Recently I upgrade my Xcode to Xcode5... Sometimes running my app on my iPhone/iPad Simulator when I try to write on any UITextfield of my app (with my physical keyboard) this error appears on my Xcode5 ouptut window: : CGContextSetBlendMode:…
Jesús Ayala
  • 2,743
  • 3
  • 32
  • 48
5
votes
1 answer

How to use "adjustResize" to adjust view in Android using phonegap?

We can set android:windowSoftInputMode="stateVisible|adjustResize|adjustPan" to adjust screen view while user click on Edit Text Field. I want to do same thing in HTML form. While user click on Textbox then view should be automatically adjust so…
Chintan Khetiya
  • 15,962
  • 9
  • 47
  • 85
5
votes
1 answer

defaulting iPhone numeric keypad

Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad.
5
votes
1 answer

EditText hidden by keyboard when android:gravity="center" - Android

OK well, after hours spent looking for a solution, I came here. I think it might be an issue with Android. Try to create this simple layout. Open the keyboard, hide it, then open it again and the EditText is hidden.
Romain Pellerin
  • 2,470
  • 3
  • 27
  • 36
5
votes
2 answers

Python - Detect keypress

I have an application and I want whenever the user presses RETURN/ENTER it goes to a def with an input. I am using this code: while True: z = getch() # escape key to exit if ord(z) == 9: self.command() break if ord(z)…
Afonso
5
votes
3 answers

How many pressed keys Flash can detect? using as3

I'm developing a little game. I use the following code to detect the keys pressed by the player: private function onKeyDown(event:KeyboardEvent):void { //moviment keys if (event.keyCode == 37 || event.keyCode == 65) { …
Ricardo
  • 291
  • 2
  • 11
5
votes
1 answer

On linux, can I get keys to behave differently if tapped?

So I just read a wonderful article about tricking out the modern keyboard: http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ On of the most interesting suggestions for me is this vision of a duality for the control key: When pressed in…
alexgolec
  • 26,898
  • 33
  • 107
  • 159