mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 05:23:12 -07:00
Add Pyramid/Box buttons to keybindings (#118)
This commit is contained in:
parent
dc11724627
commit
be824917b0
2 changed files with 21 additions and 2 deletions
|
@ -21,7 +21,14 @@ The following features however are yet to be implemented:
|
||||||
* H264 Error Concealment (FEC and active error recovery however are implemented)
|
* H264 Error Concealment (FEC and active error recovery however are implemented)
|
||||||
* Touchpad support (Triggering the Touchpad Button is currently possible by pressing `T` on the keyboard)
|
* Touchpad support (Triggering the Touchpad Button is currently possible by pressing `T` on the keyboard)
|
||||||
* Rumble
|
* Rumble
|
||||||
* Configurable Keybindings
|
* Configurable Keybindings. Though, for the moment you can use the following:
|
||||||
|
* `⏎` -> Cross
|
||||||
|
* `⌫` -> Moon
|
||||||
|
* `\` or `X` -> Box
|
||||||
|
* `]` or `C` -> Pyramid
|
||||||
|
* `F` or `[` -> Share
|
||||||
|
* `⇦⇧⇩⇨` -> D-Pad
|
||||||
|
* `Esc` -> PS
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,18 @@ void StreamSession::HandleKeyboardEvent(QKeyEvent *event)
|
||||||
case Qt::Key::Key_Backspace:
|
case Qt::Key::Key_Backspace:
|
||||||
button_mask = CHIAKI_CONTROLLER_BUTTON_MOON;
|
button_mask = CHIAKI_CONTROLLER_BUTTON_MOON;
|
||||||
break;
|
break;
|
||||||
|
case Qt::Key::Key_Backslash:
|
||||||
|
case Qt::Key::Key_X:
|
||||||
|
button_mask = CHIAKI_CONTROLLER_BUTTON_BOX;
|
||||||
|
break;
|
||||||
|
case Qt::Key::Key_C:
|
||||||
|
case Qt::Key::Key_BracketRight:
|
||||||
|
button_mask = CHIAKI_CONTROLLER_BUTTON_PYRAMID;
|
||||||
|
break;
|
||||||
|
case Qt::Key::Key_F:
|
||||||
|
case Qt::Key::Key_BracketLeft:
|
||||||
|
button_mask = CHIAKI_CONTROLLER_BUTTON_SHARE;
|
||||||
|
break;
|
||||||
case Qt::Key::Key_Escape:
|
case Qt::Key::Key_Escape:
|
||||||
button_mask = CHIAKI_CONTROLLER_BUTTON_PS;
|
button_mask = CHIAKI_CONTROLLER_BUTTON_PS;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue