0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 13:25:46 +00:00

Miria: Fix GTK3 keyboard mapping (#2273)

I found some mistake I made back when I first wrote the mapping for
Miria.

This fix:
- an offset by one after the tilde key in the mapping.
- F30 being mapped to F29.
This commit is contained in:
Mary 2021-05-08 14:53:28 +02:00 committed by GitHub
parent acb1647c86
commit 701c427659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ namespace Ryujinx.Input.GTK3
GtkKey.F27, GtkKey.F27,
GtkKey.F28, GtkKey.F28,
GtkKey.F29, GtkKey.F29,
GtkKey.F29, GtkKey.F30,
GtkKey.F31, GtkKey.F31,
GtkKey.F32, GtkKey.F32,
GtkKey.F33, GtkKey.F33,
@ -128,6 +128,7 @@ namespace Ryujinx.Input.GTK3
GtkKey.Key_8, GtkKey.Key_8,
GtkKey.Key_9, GtkKey.Key_9,
GtkKey.grave, GtkKey.grave,
GtkKey.grave,
GtkKey.minus, GtkKey.minus,
GtkKey.plus, GtkKey.plus,
GtkKey.bracketleft, GtkKey.bracketleft,
@ -138,7 +139,6 @@ namespace Ryujinx.Input.GTK3
GtkKey.period, GtkKey.period,
GtkKey.slash, GtkKey.slash,
GtkKey.backslash, GtkKey.backslash,
GtkKey.backslash,
// NOTE: invalid // NOTE: invalid
GtkKey.blank, GtkKey.blank,