tdesktop/Telegram/SourceFiles/media/player
Ilya Fedin 86be105c25 Media Play key is expected to behave like Toggle Media Play/Pause
Looks like Qt maps "Media Play" to the common play/pause button on keyboards:
https://github.com/qt/qtbase/blob/5.15/src/platformsupport/input/xkbcommon/qxkbcommon.cpp#L293
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L392
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L519
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L607

While "Toggle Media Play/Pause" is some special case:
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L488
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/ios/quiview.mm#L584

It is worth to behave on "Media Play" like on "Toggle Media Play/Pause".
2020-12-08 21:20:26 +03:00
..
media_player.style
media_player_button.cpp
media_player_button.h
media_player_float.cpp
media_player_float.h
media_player_instance.cpp Media Play key is expected to behave like Toggle Media Play/Pause 2020-12-08 21:20:26 +03:00
media_player_instance.h
media_player_panel.cpp Try to workaround MSVC compiler bug. 2020-10-31 15:14:34 +03:00
media_player_panel.h
media_player_volume_controller.cpp Change button round radius. 2020-12-08 11:19:23 +04:00
media_player_volume_controller.h
media_player_widget.cpp
media_player_widget.h