Add code to use libusb-1.0 asynchronous transfers to fix problem of
occasional missed keys and eliminate use of key_timeout which disrupts the main loop timing (by M. Jones).
This commit is contained in:
@@ -926,6 +926,9 @@ Reboot=no
|
||||
## Mini-box.com picoLCD (usblcd) driver ##
|
||||
[picolcd]
|
||||
|
||||
# KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When
|
||||
# built with libusb-1.0 key and IR data is input asynchronously so there is no
|
||||
# need to wait for the USB data.
|
||||
# KeyTimeout is the time in ms that LCDd spends waiting for a key press before
|
||||
# cycling through other duties. Higher values make LCDd use less CPU time and
|
||||
# make key presses more detectable. Lower values make LCDd more responsive
|
||||
@@ -933,6 +936,18 @@ Reboot=no
|
||||
# and a balanced value. [default: 500; legal: 0 - 1000]
|
||||
KeyTimeout=500
|
||||
|
||||
# Key auto repeat is only available if the picoLCD driver is built with
|
||||
# libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto
|
||||
# repeat.
|
||||
#
|
||||
# Key auto repeat delay (time in ms from first key report to first repeat). Use
|
||||
# zero to disable auto repeat. [default: 300; legal: 0 - 3000]
|
||||
KeyRepeatDelay=300
|
||||
|
||||
# Key auto repeat interval (time in ms between repeat reports). Only used if
|
||||
# KeyRepeatDelay is not zero. [default: 200; legal: 0 - 3000]
|
||||
KeyRepeatInterval=200
|
||||
|
||||
# Sets the initial state of the backlight upon start-up.
|
||||
# [default: on; legal: on, off]
|
||||
#Backlight=on
|
||||
@@ -948,6 +963,9 @@ Brightness=1000
|
||||
# Set the initial contrast [default: 1000; legal: 0 - 1000]
|
||||
Contrast=1000
|
||||
|
||||
# Link the key lights to the backlight? [default: on; legal: on, off]
|
||||
#LinkLights=off
|
||||
|
||||
# Light the keys? [default: on; legal: on, off]
|
||||
Keylights=on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user