Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [keyboard]

A keyboard allows a user to send characters to the Raspberry Pi, a common input device.

0
votes
0answers
38 views

Shutdown/Reboot with USB barcode scanner input

I am working on a kiosk mode warehouse organizing application with a Raspberry Pi with 7 inch touchscreen and a USB barcodescanner. Because the only input of this setup is the touchscreen and the ...
1
vote
1answer
50 views

Control Terminal from smartphone

I am using a raspberry pi 2 with raspbian lite, and I wanted to have keyboard control from my phone. So if I hook up my pi to the TV, I can type commands on my phone without needing to connect a ...
0
votes
1answer
51 views

Execute service or script via hotkey

I use Raspbian lite. I'm trying to map a hotkey to start the service or a script. I do not use a graphical user interface, only a text console with a local attached display. I'm not using ssh. I ...
0
votes
1answer
41 views

How to change keyboard without using raspi-config?

I have HypriotOS running which is a Raspbian Stretch version uname -a Linux test 4.14.34-hypriotos+ #2 Sun APr 22 15:29:32 UTC 2018 armv61 GNU/Linux lsb_release No LSB modules are available. ...
0
votes
1answer
72 views

Stream Deck Using PI 2

I have a RPi2 1gb. I've recently got a touch screen for it and have decided that I actually should use it for what it was intended for. Programming! So my adventure starts here. I want to make a ...
0
votes
0answers
36 views

AttributeError: ge_add_event_data

I get this error when i try to import pynput to control my motor using keyboard: Traceback (most recent call last): File "/home/pi/.local/lib/python3.5/site-packages/Xlib/display.py", line 224, in ...
1
vote
0answers
39 views

Raspberry pi 3 B+ running NOOBS keyboard and mouse doesn’t work

When I boot my raspi, it works fine. Booted NOOBS and it was good. But when I tried raspbian, the keyboard and mouse stopped working, and wouldn’t let me past the login screen! My pi was working a ...
0
votes
0answers
30 views

Apple/Mac USB Keyboard with Pi Zero and 3 :-(

I brought my Pi Zero W and 3 to The Netherlands to share with my grandson what I'm doing and to equally learn what he (12) is doing with his Pi 3 - last years Chrissy present. At home (UK) I have ...
0
votes
0answers
28 views

Usb hub on keyboard not working PI-ZERO

I have been trying to figure this out for a while now and I can't find an answer I connected a usb keyboard with a built in hub to my PI-ZERO and it won't detect a mouse through the hub I have tested ...
0
votes
0answers
178 views

QEMU : What does “No 'usb-bus' bus found for device” mean?

I'm trying to emulate a Raspberry Pi 2 with QEMU and Raspbian on my Linux installation (x64). Everything boot up fine but my keyboard and mouse don't work. I tried to add a keyboard using -usb -device ...
1
vote
1answer
70 views

How to use two keyboard layouts in Raspbian

I am using Raspbian 9 (Stretch) and I want to use both English and Persian keyboard layouts at the same time. Right now I have to go to the preferences every time I need a keyboard layout shift. Is ...
0
votes
0answers
46 views

Does anyone know how to simulate keystrokes on a raspberry pi with code?

I would like to replicate this code, but on a raspberry pi. It imports for windows. Does anyone know of a library or anything that could help? https://stackoverflow.com/questions/13564851/how-to-...
0
votes
1answer
285 views

Raspberry Pi USB hub can't connect keyboard and mouse at same time

I bought a cheap USB hub for a Raspberry Pi Zero: USB hub from AliExpress The problem is that I can't plug in the keyboard and mouse at the same time. Just one device is working and at one specific ...
0
votes
1answer
27 views

Raspberry pi not sensing my keyboard and mouse!

I accidentally spilled some water on the raspberry pi board, and it switched off and the HDMI stopped working.. I dried the board and connected it again, now everything was working fine except for a ...
2
votes
1answer
100 views

Is it possible to send 'left arrow' to the OMXPlayer console?

I'm building a MP3 player with physical buttons using a Raspberry Pi and Python. I'm using the subprocess library to allow simultaneous actions without blocking user input. I'm sending commands to ...
1
vote
1answer
130 views

Keyboard stopped working, mouse still works

My wired keyboard randomly stopped working on my Raspberry Pi 3 after working fine for two weeks. My wired mouse still works fine. I've tried swapping both into all 4 ports and the mouse works in ...
0
votes
1answer
167 views

Thunder bolt icon appears, Pi boots, Keyboard does not work. What could be wrong?

I have a new Raspberry Pi 3 Model B. It has been working fine with the keyboard and mouse. I have ran rpi-update since purchasing it and it continued to work fine after that. I have tried starting the ...
0
votes
0answers
29 views

Conflict between Apple bluetooth mouse and keyboard

I have successfully paired my Magic Mouse and Magic Keyboard to RPi0W using the typical bluetooth pairing workflow: sudo bluetoothctl and then: power on agent on # "agent KeyboardOnly" for the ...
2
votes
1answer
2k views

Use Raspberry Pi as keyboard/mouse output to control server

I want to connect to a RPi thought LAN (possibly with VNC) and have it controlling a server that is connected to the RPi by USB. Basically the RPi would have to send every keystroke/mouse movement to ...
0
votes
0answers
36 views

Can I make a 2 button keyboard using Raspberry Pi?

I would like to make a simple 2 button keyboard. It is intended for use for a game called "Osu!" where you have to press "Z" and "X" in the game. I'm pretty much a beginner, by the way. I was ...
1
vote
1answer
2k views

Virtual on-screen keyboard for raspberry pi touch screen

The following is simple code that accepts a line of text from a user: from tkinter import * from tkinter import ttk root= Tk() entry= ttk.Entry(root, width=30) entry.pack() I am running this ...
3
votes
5answers
1k views

Is it possible to produce a pipe “|” with a US keyboard and the vanilla Raspbian?

I am developing a replacement for the /sbin/init process that will run 1 time and then remove itself from the system. During development I need to be able to do some debugging. I have no SSH (or ...
0
votes
0answers
76 views

Reconnect Pi to iPhone via bluetooth on boot

I have a pi3 that I am trying to use as a bluetooth keyboard to send keys to an iPhone. I have the configuration set up as given in this guide. http://yetanotherpointlesstechblog.blogspot.com.au/2016/...
0
votes
1answer
306 views

Use RFID reader AND a 4x4 matrix keypad with breadboard

I am trying to set up a pi to use rfid to scan a card and if the card is correct, the user will enter in a 4 digit code into a 4x4 matrix keypad. Each device works perfectly fine independently however ...
2
votes
1answer
347 views

Monitoring Keyboard without Monitor

Working on a project that uses a little keyboard and an E-ink display. I have tried a couple of keyboard packages for python (pynput, pyxhook) and have written/tested simple keystroke loggers that ...
0
votes
0answers
240 views

Redirect a USB Keyboard to Stdin

I am wanting to run a Python script that constantly loops for input on a keyboard (its actually and RFID HID). The script will be run on startup, but the Raspberry Pi will be headless. How can I ...
0
votes
0answers
102 views

Raspberry Pi 3 with CentOS no SSH without a keyboard

I installed CentOS 7.4 (1708) Minimal on a fresh Raspberry Pi 3 without issues. But I am struggeling with SSH connections, although each time the network is reachable from the Raspberry: If a ...
1
vote
0answers
241 views

no /etc/kbd in stretch lite?

I'm setting up a RPi 3 with stretch lite on top of which I've further installed the Raspberry Pi Desktop following this guide. All is working fine, but as I went on to enable the numerical keypad of ...
1
vote
0answers
384 views

How can i emulate a ps/2 keyboard with raspberry pi3

So I am working on an medical machine which runs on microcontroller(So,No OS).It gets the input from ps/2 keyboard. I would like to automate it. I would like some basic idea and some help on how to do ...
0
votes
1answer
22 views

2.4G keyboard with rasbain on v pi 2 model b

I have a raspberry pi model b. I installed rasbain form here. it was the minimal option. when it booted everything was ok. I plugged in my normal USB cord keyboard and it did not see it. Also my 2.4G ...
0
votes
1answer
73 views

Running SDL app via RealVNC with Direct Capture enabled does not accept Keyboard input

I am trying to run and SDL hardware-accelerated app, PICO,-8 over VNC, and thanks to this community I am making progress! One solution is to use RealVNC with the experimental DirectCapture feature ...
1
vote
1answer
44 views

Connect Pi to computer and be recognized as a keyboard and mouse

I would like to connect the Pi to my computer (through USB?) and have the computer think that it is a keyboard and mouse. This should be a completely external thing. The end project I am working on ...
0
votes
0answers
8 views

How can I bind a global key output from a shortcut in Openbox config?

How can I bind a global key output from a shortcut in Openbox config? Hello, Some of my keyboard keys are not working, like the number five and six. I want to bind them to shortcuts like shift-alt-f ...
0
votes
0answers
22 views

Is it possible to convert a laptop keyboard to usb for a raspberry pi laptop? [duplicate]

Alright so I know I'll need a driverboard for my screen. I'm hoping to use this one. Screen Driverboard. The driverboard isn't what worries me. Its getting the laptop keyboard to work with the ...
0
votes
1answer
659 views

Change default en_GB to en_US (cannot type a pipe key)

Running localectl status I see that my locale is LANG-en_GB bla bla bla I'm trying to pipe ls output to more (ls --help | more) but the when I use the pipe key I get some another character. (Pipe ...
2
votes
0answers
294 views

Why does the keyboard interrupt not work? [closed]

The code below runs on boot via this command in the /etc/rc.local file: python3 /home/pi/Desktop/booth.py. When a button is pressed, the PiCamera preview begins, which covers my whole monitor screen ...
1
vote
0answers
72 views

No key binding on login

I have a Raspberry Pi 3, running Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux I use LXDE. However, on reboot and login, my keymap is not properly loaded. For ...
0
votes
1answer
249 views

Change keyboard language using desktop icon

I need a way for call agents to be able to change keyboard layout to the language they need via dedicated desktop shortcut icons. E.g. Chinese agent double-clicks icon "chinese language" and he gets ...
0
votes
1answer
292 views

Raspbian, Hanns.G HT231HPB and chromium browser

I am using the set up above as a dumb terminal/kiosk my issue is that the Chromium on screen keyboard is offsetting the touch so that you can't accurately type. I know the monitor is operating as a ...
0
votes
1answer
401 views

configure azerty keyboard for (light) Raspbian Stretch

How to configure keyboard in azerty in light version as setxkbmap is not known ? How to make it really persistent ?
0
votes
1answer
94 views

Apple keyboard Caps Lock LED doesn't light up though caps *are* locked

I have an Apple keyboard (French disposition) that's always worked in all the GNU/Linux distributions I tried (Fedora, Ubuntu, Mint, Arch, Gentoo, Debian). Only with Raspbian do I have issues, the ...
1
vote
0answers
652 views

Dead USB OTG in Pi Zero W

I bought my first Pi, a Raspberry Pi Zero W 1.1 from CanaKit and I am having trouble with its USB port. I tried booting latest Raspbian, Raspbian Lite and Noobs, but in all cases it's the same: no ...
-1
votes
1answer
67 views

What keyboard key does one use for “@” with a Pi? [duplicate]

When I type @ I get " instead. I have tried different keyboards, but this is obviously a Pi issue. Thoughts?
0
votes
1answer
825 views

Reading simultaneous key presses in python command line

How can I detect simultaneous key presses in python running in a headless session, i.e. with no display attached? My goal is to control two motors in a car by pressing keys on the keyboard. E.g. ...
0
votes
0answers
63 views

Why doesn't the compose key stay enabled?

I set the compose key to be the right logo key using raspi-config. (The compose key allows for easy typing of characters not found on the keyboard, like "ü".) Oddly, the compose key works fine for me ...
1
vote
0answers
55 views

Re-map a “dead” button on remote to something useful in Kodi

I'm a complete noob as regards Linux, but I've got a Pi 3B that's currently only set up to run Kodi under LibreElec. It's actually got three 2.4GHz IR remotes (and a Bluetooth keyboard) connected, and ...
0
votes
0answers
2k views

Pyaudio record audio using non-blocking callback

I am currently trying to make a simple script which records while a key is being pressed. I need to generate some data, so the intention with the script was to prompt the terminal with an sentence, ...
0
votes
1answer
780 views

Login Using Touchscreen

I am using a pi2 with Pixel as an air-gapped computer for secure data entry. In order to ensure that it remains isolated I have covered all the ports and cable jacks. The only input is a camera for ...
0
votes
0answers
179 views

Rasberry Pi 3 (with 2.5A PS) running Raspbian: keyboard and mouse don't work

When I installed NOOBS, it was able to see the keyboard and mouse (wireless). Once I booted up with Raspbian, it was no longer able to see either.I couldn't boot in safe mode either, because it couldn'...
1
vote
0answers
60 views

Custom keyboard settings after reboot are gone

Is there a way to make changes made to keyboard layout using Keyboard Layout Handler Setting to survive a reboot on raspbian 4.4.50?