From 12608dabcf2965f77d8e4e3282d86891ff3c2d5f Mon Sep 17 00:00:00 2001 From: Mateusz Grzegorzek Date: Tue, 18 May 2021 11:16:01 +0200 Subject: [PATCH] [BH-351] Simulator input handling Add Keyboard binding for Linux Bell simulator --- doc/host_keyboard_bindings.md | 48 +++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/doc/host_keyboard_bindings.md b/doc/host_keyboard_bindings.md index 4c2a0dfe93c152e9c5a13e613fee9fdae5615f93..9cde4a0ea6fd5db313587b51ed48bd8d994ae112 100644 --- a/doc/host_keyboard_bindings.md +++ b/doc/host_keyboard_bindings.md @@ -1,25 +1,31 @@ -# Keyboard binding on Linux Pure simulator +# Table of contents -## Table of contents +- [Linux Pure simulator](#keyboard-binding-on-linux-pure-simulator) -- [Functional buttons](#functional-buttons) -- [Numeric buttons](#numeric-buttons) -- [Battery "buttons"](#battery-buttons) + - [Functional buttons](#functional-buttons) + + - [Numeric buttons](#numeric-buttons) + + - [Battery "buttons"](#battery-buttons) + +- [Linux Bell simulator](#keyboard-binding-on-linux-bell-simulator) + +## Keyboard binding on Linux Pure simulator ### Functional buttons - Volume up - key [ `R` ] -- Volume down - key [ `F` ] -- Functional left - key [ `Q` ] +- Volume down - key [ `F` ] +- Functional left - key [ `Q` ] - Functional right - key [ `E` ] -- Joystick up - key [ `W` ] -- Joystick down - key [ `X` ] -- Joystick left - key [ `A` ] -- Joystick right - key [ `D` ] -- Joystick enter - key [ `S` ] -- Slider up - key [ `V` ] -- Slider mid - key [ `B` ] -- Slider down - key [ `N` ] -- Torch button - key [ `T` ] +- Joystick up - key [ `W` ] +- Joystick down - key [ `X` ] +- Joystick left - key [ `A` ] +- Joystick right - key [ `D` ] +- Joystick enter - key [ `S` ] +- Slider up - key [ `V` ] +- Slider mid - key [ `B` ] +- Slider down - key [ `N` ] +- Torch button - key [ `T` ] - Headset OK - key [ `U` ] - Headset Vol + - key [ `J` ] - Headset Vol - - key [ `M` ] @@ -47,3 +53,13 @@ - Standard Downstream Port (SDP) - key [ `L` ] - Charging Downstream Port (CDP) - key [ `;` ] - Dedicated Charging Port (DCP) - key [ `'` ] + +## Keyboard binding on Linux Bell simulator + +- Back - key [ `E` ] +- Deep Press Up - key [ `W` ] +- Deep Press Down - key [ `X` ] +- Rotate left - key [ `A` ] +- Rotate right - key [ `D` ] +- Light Click - key [ `S` ] +- Frontlight - key [ `T` ] \ No newline at end of file