Customisable shortcuts: first bulky implementation

This commit is contained in:
2022-04-05 00:09:40 +02:00
parent 9a5f686dde
commit 6d75f88927
8 changed files with 703 additions and 115 deletions

View File

@ -118,5 +118,173 @@ namespace unison.Properties {
this["volume_offset"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint nextTrack_mod {
get {
return ((uint)(this["nextTrack_mod"]));
}
set {
this["nextTrack_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("176")]
public uint nextTrack_vk {
get {
return ((uint)(this["nextTrack_vk"]));
}
set {
this["nextTrack_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint previousTrack_mod {
get {
return ((uint)(this["previousTrack_mod"]));
}
set {
this["previousTrack_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("177")]
public uint previousTrack_vk {
get {
return ((uint)(this["previousTrack_vk"]));
}
set {
this["previousTrack_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint playPause_mod {
get {
return ((uint)(this["playPause_mod"]));
}
set {
this["playPause_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("179")]
public uint playPause_vk {
get {
return ((uint)(this["playPause_vk"]));
}
set {
this["playPause_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint volumeUp_mod {
get {
return ((uint)(this["volumeUp_mod"]));
}
set {
this["volumeUp_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("175")]
public uint volumeUp_vk {
get {
return ((uint)(this["volumeUp_vk"]));
}
set {
this["volumeUp_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint volumeDown_mod {
get {
return ((uint)(this["volumeDown_mod"]));
}
set {
this["volumeDown_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("174")]
public uint volumeDown_vk {
get {
return ((uint)(this["volumeDown_vk"]));
}
set {
this["volumeDown_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint volumeMute_mod {
get {
return ((uint)(this["volumeMute_mod"]));
}
set {
this["volumeMute_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("173")]
public uint volumeMute_vk {
get {
return ((uint)(this["volumeMute_vk"]));
}
set {
this["volumeMute_vk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("3")]
public uint showWindow_mod {
get {
return ((uint)(this["showWindow_mod"]));
}
set {
this["showWindow_mod"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("13")]
public uint showWindow_vk {
get {
return ((uint)(this["showWindow_vk"]));
}
set {
this["showWindow_vk"] = value;
}
}
}
}

View File

@ -26,5 +26,47 @@
<Setting Name="volume_offset" Type="System.Int32" Scope="User">
<Value Profile="(Default)">5</Value>
</Setting>
<Setting Name="nextTrack_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="nextTrack_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">176</Value>
</Setting>
<Setting Name="previousTrack_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="previousTrack_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">177</Value>
</Setting>
<Setting Name="playPause_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="playPause_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">179</Value>
</Setting>
<Setting Name="volumeUp_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="volumeUp_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">175</Value>
</Setting>
<Setting Name="volumeDown_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="volumeDown_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">174</Value>
</Setting>
<Setting Name="volumeMute_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="volumeMute_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">173</Value>
</Setting>
<Setting Name="showWindow_mod" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">3</Value>
</Setting>
<Setting Name="showWindow_vk" Type="System.UInt32" Scope="User">
<Value Profile="(Default)">13</Value>
</Setting>
</Settings>
</SettingsFile>