Fullscreen refactor (#9237)

Commonize fullscreen code across different devices.

Add fullscreen toggle on SDL desktop targets. 
Expose the toggle to the dispatcher and map it to F11.

Hide touchmenu when resizing.
This commit is contained in:
Martín Fernández
2022-06-24 23:19:38 +02:00
committed by GitHub
parent 6fdb83017b
commit b7a27a3db3
12 changed files with 150 additions and 88 deletions

View File

@@ -57,8 +57,8 @@ return {
[1073741889] = "F8", -- F[8]
[1073741890] = "F9", -- F[9]
[1073741891] = "F10", -- F[10]
[1073741892] = "VPlus", -- F[11]
[1073741893] = "VMinus", -- F[12]
[1073741892] = "F11", -- F[11]
[1073741893] = "F12", -- F[12]
[1073742049] = "Shift", -- left shift
[1073742053] = "Sym", -- right shift