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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

1
vote
1answer
28 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
24 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
54 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
25 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
21 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 ...
0
votes
0answers
31 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
67 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
15 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
374 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
29 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
1k 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
709 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
49 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
205 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
184 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
147 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
92 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
164 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
269 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
21 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
53 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
41 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
21 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
394 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
176 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
52 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
0answers
42 views

Xmodmap and retropie/emulationstation/emulator

I've written my own key bindings. One is loaded with 'loadkeys' command for the text mode. Second one is loaded with 'xmodmap' for X. I can manually enable my own bindings while in console/lxfce. But ...
0
votes
1answer
146 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
207 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
280 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
69 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
456 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
60 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
627 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
51 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
46 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
1k 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
566 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
139 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
56 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?
5
votes
1answer
4k views

How to set keyboard shortcuts

How do I setup a keyboard shortcut to run xscreensaver-command -lock when I press ctrl+alt+l? I've had a look at Raspbian keyboard shortcuts, but that talks about finding the keyboard shortcuts, not ...
-3
votes
1answer
40 views

Is there a rasbian host that has the US keyboard by defualt?

I'm sick of having to change the keyboard layout by default to use "|" and "$". Is there someone out there that takes the most recent distribution and makes in murican'?
1
vote
2answers
2k views

Onscreen keyboard to use when logging in

I purchased a small touchscreen for my raspberry pi (running Raspbian), but I also require a login to the user pi (encrypted home directory). How do I set up an onscreen keyboard so that I can log in ...
1
vote
0answers
41 views

Keyboard mappings don't seem to match selected layout

I've installed Raspian Jessie via raspbian-ua-netinst, but the keyboard mappings don't seem to work how i expect them to. I've set the Keyboard to Uk English via sudo raspi-config -> Localisation ...
0
votes
2answers
666 views

Dell USB keyboard not working with my Pi Zero

I just got my Pi Zero and I am going through the setup process with the mouse which is working fine but then when I switch over to my keyboard it doesn't work at all. I am using an iPad wall adapter ...
0
votes
1answer
105 views

Used wrong two letter country code for xkblayout

I did something very stupid. I typed the wrong two letter code when I tried to change my keyboard layout. Seems this code is not used, since I'm just typing squares afterwards... Any advices to get my ...
0
votes
1answer
2k views

Capture Keypress with modifiers in Python?

So I have a macro style keyboard that comes pre-programmed for a specialised piece of software, I want to use a Pi to take those keypresses and translate them to OSC, which I have a python library for,...
1
vote
1answer
142 views

How do you disable keyboards (or lock the video player) in Kodi?

Simple question: how do you disable all keyboards in Kodi? I tried looking for the keymaps folder so I can edit the keyboards.xml file but can't seem to find it. If there is a way to master lock (...
1
vote
2answers
848 views

Can I install my wireless keyboard to my pi from my PC

Bought a Pi3B to run Retropie. I don't own a wired keyboard. I have a logitech K800, which uses a dongle. Please help.