natinusala / borealis

Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
Apache License 2.0
255 stars 81 forks source link

Add all sounds #133

Open natinusala opened 3 years ago

natinusala commented 3 years ago

This kinda depends on everything else so it must be done last.

qlaunch <-> brls sounds mapping:

Controller:
-----------
SeNaviFocus: focus change on sidebar
SeNaviDecide: sidebar item selected (A pressed only, pressing RIGHT is SeBtnFocus)
SeBtnFocus: focus change outside of sidebar
SeBtnDecide: click on anything that has an action
SeToggleBtnFocus: ToggleListItem focused
SeToggleBtnOff: ToggleListItem toggled to off
SeToggleBtnOn: ToggleListItem toggled to on
SeKeyError: key pressed bound to no action / disabled button
SeKeyErrorCursor: wiggle
SeKeyErrorScroll: wiggle inside a ScrollView
SeWaiting: indetermined progress dialog (spinner)
SeDialogOpen: open dialog
SeFooterDecideFinish: back button (wrong sound id but sounds the same)
Crash: SeInsertError
SeRadioBtn: dropdown item selected
SeRadioBtnFocus: focus change inside of a Dropdown

Touch - some of them do have randomized pitch:
----------------------------------------------
SeFooter*
TODO...

Unused but good to know:
------------------------
SeCheckbox*
SeSlider*
SeBtnDecideRepeat

Unknown / unsure
----------------
SeSelect*