mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Improve VirtualKeyCode to ToWindowsInput mapping
This commit is contained in:
parent
26171639eb
commit
801f32a719
3 changed files with 19 additions and 16 deletions
|
|
@ -20,18 +20,6 @@ namespace SteamController.Devices
|
|||
{
|
||||
}
|
||||
|
||||
public bool this[ProfilesSettings.VirtualKeyCode key]
|
||||
{
|
||||
get { return this[(VirtualKeyCode)key]; }
|
||||
set { this[(VirtualKeyCode)key] = value; }
|
||||
}
|
||||
|
||||
public bool this[System.Windows.Input.Key key]
|
||||
{
|
||||
get { return this[(VirtualKeyCode)System.Windows.Input.KeyInterop.VirtualKeyFromKey(key)]; }
|
||||
set { this[(VirtualKeyCode)System.Windows.Input.KeyInterop.VirtualKeyFromKey(key)] = value; }
|
||||
}
|
||||
|
||||
public bool this[System.Windows.Forms.Keys key]
|
||||
{
|
||||
get
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue