mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
pkg/sculpt: update README
Adaptation to the change of the input filter to the event filter.
This commit is contained in:
parent
90b3b72a91
commit
5cc2adb421
@ -386,8 +386,8 @@ Drivers subsystem
|
||||
-----------------
|
||||
|
||||
The drivers subsystem provides all the basic services needed to realize an
|
||||
interactive system scenario: a framebuffer service for the graphical
|
||||
output, an input service to obtain user input, and a block service to
|
||||
interactive system scenario: a framebuffer driver for the graphical
|
||||
output, input drivers to obtain user input, and a block service to
|
||||
access a storage device. All other drivers like networking or audio drivers
|
||||
are not covered by the drivers subsystem. They will enter the picture at a
|
||||
later stage and will use the platform service and USB service to access
|
||||
@ -400,11 +400,11 @@ device resources.
|
||||
; discover driver -- PS/2 : : Manager : Init :
|
||||
; : : : : : :
|
||||
; : : : : : :
|
||||
; : Input : : :
|
||||
; : Event : : :
|
||||
; : Filter : : :
|
||||
; : : : : :
|
||||
; : : : : :
|
||||
; (platform) (input) (USB) (framebuffer) (block)
|
||||
; (platform) (event) (USB) (framebuffer) (block)
|
||||
|
||||
[image sculpt_drivers 80%]
|
||||
Services provided by the drivers subsystem
|
||||
@ -416,12 +416,12 @@ Whenever an Intel graphics device is present, the Intel framebuffer driver
|
||||
is spawned. Otherwise, a generic VESA driver or a driver for a
|
||||
boot-time-initialized framebuffer is used.
|
||||
|
||||
Several components of the drivers subsystem report their state. For example, when
|
||||
the Intel framebuffer is used, it reports the list of connectors present.
|
||||
Several components of the drivers subsystem report their state. For example,
|
||||
when the Intel framebuffer is used, it reports the list of connectors present.
|
||||
Most importantly, the driver manager reports the available block devices.
|
||||
|
||||
As user input may enter the system in multiple ways - most prominently PS/2
|
||||
and USB HID - the drivers subsystem contains a so-called input-filter
|
||||
and USB HID - the drivers subsystem contains a so-called event-filter
|
||||
component that merges these event streams and applies transformations like
|
||||
key remappings or mouse acceleration.
|
||||
|
||||
@ -528,10 +528,10 @@ Adjusting the user-input handling
|
||||
By default, Sculpt uses the US-English keyboard layout with a functioning
|
||||
capslock key. You may possibly want to adjust the former and - as a Vim
|
||||
user - most likely discharge the latter. As mentioned in Section
|
||||
[Drivers subsystem], user input is processed by the input-filter component.
|
||||
[Drivers subsystem], user input is processed by the event-filter component.
|
||||
You can edit this component's configuration via
|
||||
|
||||
! inspect:/> vim /config/input_filter
|
||||
! inspect:/> vim /config/event_filter
|
||||
|
||||
To change the keyboard layout to German, change "en_us.chargen" to
|
||||
"de_de.chargen" and save the file. The change becomes effective immediately at
|
||||
@ -545,13 +545,13 @@ uncomment the corresponding '<remap>' rule
|
||||
After saving the file, a Vim user's life suddenly becomes much more
|
||||
pleasant.
|
||||
|
||||
[image input_filter 80%]
|
||||
[image event_filter 80%]
|
||||
Filter chain for user-input events
|
||||
|
||||
Take the time to review the remaining parts of the input-filter
|
||||
Take the time to review the remaining parts of the event-filter
|
||||
configuration. The nested configuration nodes define a hierarchy of
|
||||
filters that are applied in the order from the inside to outside
|
||||
(Figure [input_filter]). There are filters for merging events ('<merge>'),
|
||||
(Figure [event_filter]). There are filters for merging events ('<merge>'),
|
||||
remapping buttons and keys ('<remap>'), supplementing symbolic character
|
||||
information ('<chargen>'), pointer acceleration ('<accelerate>'), and
|
||||
emulating a scroll wheel by moving the pointer while pressing the middle
|
||||
|
Loading…
x
Reference in New Issue
Block a user