2022-11-28 09:34:17 +01:00
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace SteamController.ProfilesSettings
|
|
|
|
|
{
|
2023-09-24 16:17:49 +02:00
|
|
|
[Category("2. Shortcuts")]
|
2022-12-08 10:24:40 +01:00
|
|
|
internal abstract class BackPanelSettings : CommonHelpers.BaseSettings
|
2022-11-28 09:34:17 +01:00
|
|
|
{
|
2022-12-10 10:21:10 +01:00
|
|
|
private const String MappingsDescription = @"Only some of those keys do work. Allowed shortcuts are to be changed in future release.";
|
2022-11-28 09:34:17 +01:00
|
|
|
|
|
|
|
|
public BackPanelSettings(String settingsKey) : base(settingsKey)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Description(MappingsDescription)]
|
2022-12-08 01:48:14 +01:00
|
|
|
public VirtualKeyCode L4_KEY
|
2022-11-28 09:34:17 +01:00
|
|
|
{
|
2022-12-08 10:24:40 +01:00
|
|
|
get { return Get<VirtualKeyCode>("L4_KEY", VirtualKeyCode.None); }
|
|
|
|
|
set { Set("L4_KEY", value); }
|
2022-11-28 09:34:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Description(MappingsDescription)]
|
2022-12-08 01:48:14 +01:00
|
|
|
public VirtualKeyCode L5_KEY
|
2022-11-28 09:34:17 +01:00
|
|
|
{
|
2022-12-08 10:24:40 +01:00
|
|
|
get { return Get<VirtualKeyCode>("L5_KEY", VirtualKeyCode.None); }
|
|
|
|
|
set { Set("L5_KEY", value); }
|
2022-11-28 09:34:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Description(MappingsDescription)]
|
2022-12-08 01:48:14 +01:00
|
|
|
public VirtualKeyCode R4_KEY
|
2022-11-28 09:34:17 +01:00
|
|
|
{
|
2022-12-08 10:24:40 +01:00
|
|
|
get { return Get<VirtualKeyCode>("R4_KEY", VirtualKeyCode.None); }
|
|
|
|
|
set { Set("R4_KEY", value); }
|
2022-11-28 09:34:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Description(MappingsDescription)]
|
2022-12-08 01:48:14 +01:00
|
|
|
public VirtualKeyCode R5_KEY
|
2022-11-28 09:34:17 +01:00
|
|
|
{
|
2022-12-08 10:24:40 +01:00
|
|
|
get { return Get<VirtualKeyCode>("R5_KEY", VirtualKeyCode.None); }
|
|
|
|
|
set { Set("R5_KEY", value); }
|
2022-11-28 09:34:17 +01:00
|
|
|
}
|
|
|
|
|
}
|
2022-12-08 01:48:14 +01:00
|
|
|
}
|