Kivy USB Dual Keyboard Letters

I have a raspberry Pi 3 that launches an application using Kivy. There is a USB keyboard connected to enter text in the application. Each time I type a text box, the letters are duplicated. If I press and hold the key, the letter will also be double. Outside the application, the keyboard works fine (does not duplicate letters). It also works fine if I run the application on my PC. How to prevent double typing of the keyboard in the application?

+5
source share
1 answer

An error occurred in the config.ini file for kivy. This file was in the .kivy folder.

Earlier in the input section, we had the following lines:

[input] mouse = mouse mtdev_%(name)s=probesysfs,provider=mtdev hid_%(name)s=probesysfs,provider=hidinput %(name)s=probesysfs,provider=hidinput 

Removing the last line shown above resolved the double-entry error.

+5
source

Source: https://habr.com/ru/post/1262943/


All Articles