Questions tagged [numpad]

A numpad or numeric keypad is the small, palm-sized, seventeen key section of a computer keyboard.

A numpad or numeric keypad is the small, palm-sized, seventeen key section of a computer keyboard.

120 questions
2
votes
2 answers

Handle return key of bluetooth keyboard for number pad

In the app I am performing some action on custom done button that is added on the Number pad, as number pad does not have return key. Now, the problem is when hardware keyboard is attached I am not able to handle the return key press on hardware…
Javal Nanda
  • 1,828
  • 3
  • 14
  • 26
2
votes
3 answers

How to delete the text quickly when delete/back button is pressed for EditText in android?

In calculator application, when the back/delete button is on pressed, not releasing it, the phone will vibrate and it will delete the entered numbers very quickly. I have a EditText view, when the back/delete button is on pressed, it only deletes…
s-hunter
  • 24,172
  • 16
  • 88
  • 130
1
vote
1 answer

Open a numpad every time a Tkinter Entry is clicked with mouse

I'm not a programmer by profession and currently try to program a small app to use on tablets using python's tkinter module. I want a numpad to pop up every time a tinkter Entry widget is clicked/touched. I found the following code on stackoverflow…
StehlikT
  • 13
  • 5
1
vote
3 answers

how to show single dot using custom Number pad in iphone?

i am creating custom NumberPad if (([[[UIDevice currentDevice] systemVersion] doubleValue] >= 4.1)) { inputBoxTextField.keyboardType = UIKeyboardTypeDecimalPad; } my problem is, i want to display dot only one time. thanks in advance.
Thukaram
  • 1,085
  • 2
  • 13
  • 33
1
vote
1 answer

SwiftUi how to display a keyboard with numpad in the side

I need to display a full keyboard in my app with a numpad in the side, like the one I screenshot from a Boeing App. I try the .keyboardType(.numberPad) and many other Modifiers, but I could not get the same keyboard as the App from Boeing mentioned…
1
vote
1 answer

Cannot bind NumPad minus key on Linux with Tkinter

I encountered an issue regarding KeyPress binds in tkinter when switching between Windows and Linux while using a NumPad. Using self.bind("-", function) works on Windows, however is not triggered on Linux. With the following code snippet I found out…
Valac
  • 29
  • 10
1
vote
1 answer

Swift 5 NumberPad extended buttons unresponsive

Ive got a done button on a numberpad and when i enter a value and press done the value isnt saved/registered. My code is below: Im using UIRepresentable protocol (courtesy of Rajeev Kumar S) struct TestTextfield: UIViewRepresentable { @Binding…
abdulqgg
  • 117
  • 1
  • 8
1
vote
0 answers

RuntimeError: You must setup() the GPIO channel first (4x4 Numpad on Raspberry Pi)

I wanted to use my 4x4 numpad with my Raspberry Pi 3B+ and followed the instructions of this YouTube tutorial: https://www.youtube.com/watch?v=yYnX5QodqQ4 but I got the following error: RuntimeError: You must setup() the GPIO channel first This is…
Pixelcode
  • 357
  • 3
  • 15
1
vote
1 answer

Issues with creating numpad with Html/Java

Trying to make a small numberpad as shown in the picture attached as apart of my Javascript practice. Loooking for help/tips that could possibly fix or pit me in the right direction in to getting a working Numpad that has a working reset function.…
Melwin
  • 23
  • 4
1
vote
1 answer

Numberpad backspace not updating textField.text.length

I'm currently formatting my a textfield in xcode, every 5th character I add a hyphen. However I'm having alot of trouble I am currently wanting to check my textfields.text.length then once the length reaches 23 characters the submit button is…
tinhead
  • 385
  • 2
  • 10
  • 29
1
vote
0 answers

pynput doesn't recognise a key on numpad

I have a RaspberryPi running Raspbian 3.12. I need to control the device with a just a few keys and the easiest approach seems to be to use just a numpad. I use the pynput keyboard library to detect key presses in the background; it works a…
Niels
  • 11
  • 2
1
vote
2 answers

Atom and Visual Studio Code editors: Numpad behavior

I searched a bit here and in google, but I didn't find any solution for this issue. Probably I am not searching with right phrases, but hope you get what I mean. I am using Ubuntu 18.04. My NumLock is always off. I am not using these digits while…
Asker
  • 31
  • 3
1
vote
0 answers

How can I make an alphabetical keyboard with only numberpad keys

I am trying to make a keyboard but I want to make it work using a numpad only and the buttons on there however my code doesn't seem to work for the a and b part. I have commented which part. if "1" in line: if kytype == 'a': kytype =…
crazy da gamer
  • 11
  • 1
  • 2
  • 5
1
vote
0 answers

Java getInputMap() for the enter key on numpad

So in my calculator program, I would like to set up the equals operation where it the mathematical problem could be computed by pressing the enter key (on the main keyboard) or by pressing the enter key (on the numpad). I know the numbers are…
Vince
  • 2,596
  • 11
  • 43
  • 76
1
vote
0 answers

Number pad (10 key) character codes incorrect in ie

I notice that when I listen for a keypress the character codes show up differently in Chrome and IE. Does anyone know why this is happing? Chrome: numpad key: 0, String.fromCharCode(48) => "0" numpad key: 1, String.fromCharCode(49) => "1" numpad…
jwerre
  • 9,179
  • 9
  • 60
  • 69