From 18f1570d99724ae6f0976bdd690c0d9b04cf16bd Mon Sep 17 00:00:00 2001 From: Markus Hofknecht Date: Mon, 26 Sep 2022 19:02:18 +0200 Subject: [PATCH] [Feature] Gamepad support (#451), version 1.3.1.4 --- .editorconfig | 75 +++++++ Business/KeyboardInput.cs | 14 +- Business/Menus.cs | 28 ++- Helpers/JoystickHelper.cs | 209 ++++++++++++++++++ Helpers/Updater/GitHubUpdate.cs | 45 ++-- Helpers/Updater/JsonParser.cs | 20 +- Properties/AssemblyInfo.cs | 4 +- Properties/Settings.Designer.cs | 16 ++ README.md | 3 +- Resources/Languages/lang.af.resx | 9 +- Resources/Languages/lang.ar.resx | 7 +- Resources/Languages/lang.az.resx | 17 +- Resources/Languages/lang.be.resx | 3 + Resources/Languages/lang.bg.resx | 3 + Resources/Languages/lang.bn.resx | 15 +- Resources/Languages/lang.ca.resx | 7 +- Resources/Languages/lang.cs.resx | 5 +- Resources/Languages/lang.cy.resx | 3 + Resources/Languages/lang.da.resx | 7 +- Resources/Languages/lang.de.resx | 3 + Resources/Languages/lang.el.resx | 5 +- Resources/Languages/lang.en-GB.resx | 3 + Resources/Languages/lang.eo.resx | 5 +- Resources/Languages/lang.es.resx | 9 +- Resources/Languages/lang.et.resx | 5 +- Resources/Languages/lang.eu.resx | 3 + Resources/Languages/lang.fa.resx | 5 +- Resources/Languages/lang.fi.resx | 5 +- Resources/Languages/lang.fr.resx | 3 + Resources/Languages/lang.ga.resx | 3 + Resources/Languages/lang.gl.resx | 5 +- Resources/Languages/lang.gu.resx | 11 +- Resources/Languages/lang.hi.resx | 7 +- Resources/Languages/lang.hr.resx | 3 + Resources/Languages/lang.ht.resx | 7 +- Resources/Languages/lang.hu.resx | 5 +- Resources/Languages/lang.hy.resx | 3 + Resources/Languages/lang.id.resx | 7 +- Resources/Languages/lang.is.resx | 7 +- Resources/Languages/lang.it.resx | 3 + Resources/Languages/lang.iw.resx | 7 +- Resources/Languages/lang.ja.resx | 133 +++++------ Resources/Languages/lang.ka.resx | 13 +- Resources/Languages/lang.km.resx | 5 +- Resources/Languages/lang.kn.resx | 3 + Resources/Languages/lang.ko.resx | 5 +- Resources/Languages/lang.la.resx | 9 +- Resources/Languages/lang.lo.resx | 5 +- Resources/Languages/lang.lt.resx | 5 +- Resources/Languages/lang.lv.resx | 7 +- Resources/Languages/lang.mk.resx | 7 +- Resources/Languages/lang.ms.resx | 3 + Resources/Languages/lang.mt.resx | 13 +- Resources/Languages/lang.nl.resx | 5 +- Resources/Languages/lang.no.resx | 7 +- Resources/Languages/lang.pl.resx | 7 +- Resources/Languages/lang.pt-BR.resx | 5 +- Resources/Languages/lang.pt-PT.resx | 5 +- Resources/Languages/lang.resx | 3 + Resources/Languages/lang.ro.resx | 15 +- Resources/Languages/lang.ru.resx | 3 + Resources/Languages/lang.sk.resx | 7 +- Resources/Languages/lang.sl.resx | 3 + Resources/Languages/lang.sq.resx | 9 +- Resources/Languages/lang.sr.resx | 9 +- Resources/Languages/lang.sv.resx | 7 +- Resources/Languages/lang.sw.resx | 5 +- Resources/Languages/lang.ta.resx | 7 +- Resources/Languages/lang.te.resx | 7 +- Resources/Languages/lang.th.resx | 5 +- Resources/Languages/lang.tl.resx | 3 + Resources/Languages/lang.tr.resx | 3 + Resources/Languages/lang.uk.resx | 3 + Resources/Languages/lang.ur.resx | 11 +- Resources/Languages/lang.vi.resx | 9 +- Resources/Languages/lang.yi.resx | 5 +- Resources/Languages/lang.zh-CN.resx | 7 +- Resources/Languages/lang.zh-TW.resx | 3 + SystemTrayMenu.csproj | 5 +- UserInterface/AppContextMenu.cs | 3 +- .../HotkeyTextboxControl/HotkeyControl.cs | 1 - UserInterface/LabelNoCopy.cs | 5 +- UserInterface/SettingsForm.Designer.cs | 43 ++-- UserInterface/SettingsForm.cs | 11 +- Utilities/SingleAppInstance.cs | 1 - 85 files changed, 784 insertions(+), 250 deletions(-) create mode 100644 Helpers/JoystickHelper.cs diff --git a/.editorconfig b/.editorconfig index 7ff65bff..e0ac0c51 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,3 +2,78 @@ # WFAC010: Unsupported high DPI configuration dotnet_diagnostic.WFAC010.severity = silent +csharp_indent_labels = one_less_than_current +csharp_using_directive_placement = outside_namespace:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_prefer_braces = true:silent +csharp_style_namespace_declarations = block_scoped:silent +csharp_style_prefer_method_group_conversion = true:silent +csharp_style_prefer_top_level_statements = true:silent +csharp_style_expression_bodied_methods = false:silent +csharp_style_expression_bodied_constructors = false:silent +csharp_style_expression_bodied_operators = false:silent +csharp_style_expression_bodied_properties = true:silent +csharp_style_expression_bodied_indexers = true:silent +csharp_style_expression_bodied_accessors = true:silent +csharp_style_expression_bodied_lambdas = true:silent +csharp_style_expression_bodied_local_functions = false:silent +dotnet_diagnostic.SX1101.severity = warning +dotnet_diagnostic.SA1101.severity = silent + +[*.{cs,vb}] +#### Naming styles #### + +# Naming rules + +dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion +dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface +dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i + +dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case + +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case + +# Symbol specifications + +dotnet_naming_symbols.interface.applicable_kinds = interface +dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.interface.required_modifiers = + +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum +dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.types.required_modifiers = + +dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method +dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.non_field_members.required_modifiers = + +# Naming styles + +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.begins_with_i.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:suggestion +dotnet_style_null_propagation = true:suggestion +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion +dotnet_style_prefer_auto_properties = true:silent +dotnet_style_object_initializer = true:suggestion +dotnet_style_collection_initializer = true:suggestion diff --git a/Business/KeyboardInput.cs b/Business/KeyboardInput.cs index ad608b6b..6c528484 100644 --- a/Business/KeyboardInput.cs +++ b/Business/KeyboardInput.cs @@ -72,6 +72,8 @@ internal void ResetSelectedByKey() internal void CmdKeyProcessed(object sender, Keys keys) { + sender ??= menus[iMenuKey]; + switch (keys) { case Keys.Enter: @@ -352,23 +354,25 @@ private void SelectByKey(Keys keys, string keyInput = "", bool keepSelection = f break; case Keys.Left: bool nextMenuLocationIsLeft = menus[iMenuKey + 1] != null && menus[iMenuKey + 1].Location.X < menus[iMenuKey].Location.X; - if (nextMenuLocationIsLeft) + bool previousMenuLocationIsRight = iMenuKey > 0 && menus[iMenuKey]?.Location.X < menus[iMenuKey - 1]?.Location.X; + if (nextMenuLocationIsLeft || previousMenuLocationIsRight) { SelectNextMenu(iRowBefore, ref dgv, dgvBefore, menuFromSelected, isStillSelected, ref toClear); } - else + else if (iMenuKey > 0) { SelectPreviousMenu(iRowBefore, ref menu, ref dgv, dgvBefore, ref toClear); } break; case Keys.Right: - bool nextMenuLocationIsRight = menus[iMenuKey + 1] != null && menus[iMenuKey + 1].Location.X > menus[iMenuKey].Location.X; - if (nextMenuLocationIsRight) + bool nextMenuLocationIsRight = menus[iMenuKey + 1]?.Location.X > menus[iMenuKey]?.Location.X; + bool previousMenuLocationIsLeft = iMenuKey > 0 && menus[iMenuKey]?.Location.X > menus[iMenuKey - 1]?.Location.X; + if (nextMenuLocationIsRight || previousMenuLocationIsLeft) { SelectNextMenu(iRowBefore, ref dgv, dgvBefore, menuFromSelected, isStillSelected, ref toClear); } - else + else if (iMenuKey > 0) { SelectPreviousMenu(iRowBefore, ref menu, ref dgv, dgvBefore, ref toClear); } diff --git a/Business/Menus.cs b/Business/Menus.cs index 4cc8f61b..bbb49e90 100644 --- a/Business/Menus.cs +++ b/Business/Menus.cs @@ -16,6 +16,7 @@ namespace SystemTrayMenu.Business using SystemTrayMenu.DllImports; using SystemTrayMenu.Handler; using SystemTrayMenu.Helper; + using SystemTrayMenu.Helpers; using SystemTrayMenu.UserInterface; using SystemTrayMenu.Utilities; using Menu = SystemTrayMenu.UserInterface.Menu; @@ -29,6 +30,7 @@ internal class Menus : IDisposable private readonly DgvMouseRow dgvMouseRow = new(); private readonly WaitToLoadMenu waitToOpenMenu = new(); private readonly KeyboardInput keyboardInput; + private readonly JoystickHelper joystickHelper; private readonly List watchers = new(); private readonly List watcherHistory = new(); private readonly Timer timerShowProcessStartedAsLoadingIcon = new(); @@ -251,7 +253,7 @@ void CloseMenu(int level) dgvMouseRow.RowMouseLeave += waitToOpenMenu.MouseLeave; dgvMouseRow.RowMouseLeave += Dgv_RowMouseLeave; - keyboardInput = new KeyboardInput(menus); + keyboardInput = new(menus); keyboardInput.RegisterHotKey(); keyboardInput.HotKeyPressed += () => SwitchOpenClose(false); keyboardInput.ClosePressed += MenusFadeOut; @@ -265,6 +267,9 @@ void AdjustScrollbarToDisplayedRow(DataGridView dgv, int index) menu.AdjustScrollbar(); } + joystickHelper = new(); + joystickHelper.KeyPressed += (key) => menus[0].Invoke(keyboardInput.CmdKeyProcessed, null, key); + timerShowProcessStartedAsLoadingIcon.Interval = Properties.Settings.Default.TimeUntilClosesAfterEnterPressed; timerStillActiveCheck.Interval = Properties.Settings.Default.TimeUntilClosesAfterEnterPressed + 20; timerStillActiveCheck.Tick += (sender, e) => StillActiveTick(); @@ -290,13 +295,15 @@ void CreateWatcher(string path, bool recursiv) { try { - FileSystemWatcher watcher = new(); - watcher.Path = path; - watcher.NotifyFilter = NotifyFilters.Attributes | + FileSystemWatcher watcher = new() + { + Path = path, + NotifyFilter = NotifyFilters.Attributes | NotifyFilters.DirectoryName | NotifyFilters.FileName | - NotifyFilters.LastWrite; - watcher.Filter = "*.*"; + NotifyFilters.LastWrite, + Filter = "*.*", + }; watcher.Created += WatcherProcessItem; watcher.Deleted += WatcherProcessItem; watcher.Renamed += WatcherProcessItem; @@ -337,6 +344,7 @@ public void Dispose() waitToOpenMenu.Dispose(); keyboardInput.Dispose(); + joystickHelper.Dispose(); timerShowProcessStartedAsLoadingIcon.Dispose(); timerStillActiveCheck.Dispose(); waitLeave.Dispose(); @@ -429,6 +437,7 @@ internal void SwitchOpenClose(bool byClick, bool isMainPreload = false) else { openCloseState = OpenCloseState.Opening; + joystickHelper.Enable(); StartWorker(); } @@ -1130,6 +1139,7 @@ private void MenusFadeOut() }); Config.AlwaysOpenByPin = false; + joystickHelper.Disable(); } private void AdjustMenusSizeAndLocation() @@ -1402,8 +1412,10 @@ private void CreateItem(FileSystemEventArgs e) rowData.ReadIcon(true); - List rowDatas = new(); - rowDatas.Add(rowData); + List rowDatas = new() + { + rowData, + }; DataTable dataTable = (DataTable)menus[0].GetDataGridView().DataSource; foreach (DataRow row in dataTable.Rows) diff --git a/Helpers/JoystickHelper.cs b/Helpers/JoystickHelper.cs new file mode 100644 index 00000000..5f82b841 --- /dev/null +++ b/Helpers/JoystickHelper.cs @@ -0,0 +1,209 @@ +// +// Copyright (c) PlaceholderCompany. All rights reserved. +// + +namespace SystemTrayMenu.Helpers +{ + using System; + using System.Diagnostics; + using System.Diagnostics.Metrics; + using System.Reflection.Metadata; + using System.Threading; + using System.Windows.Forms; + using SharpDX.DirectInput; + + public class JoystickHelper : IDisposable + { + private readonly System.Timers.Timer timerReadJoystick = new(); + private readonly object lockRead = new(); + private Joystick joystick; + private Keys pressingKey; + private int pressingKeyCounter; + private bool joystickHelperEnabled; + + public JoystickHelper() + { + timerReadJoystick.Interval = 80; + timerReadJoystick.Elapsed += ReadJoystickLoop; + timerReadJoystick.Enabled = false; + if (Properties.Settings.Default.SupportGamepad) + { + timerReadJoystick.Start(); + } + } + + public event Action KeyPressed; + + public void Enable() + { + joystickHelperEnabled = true; + } + + public void Disable() + { + joystickHelperEnabled = false; + } + + public void Dispose() + { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) + { + if (disposing) + { + timerReadJoystick?.Dispose(); + joystick?.Dispose(); + } + } + + private static Keys ReadKeyFromState(JoystickUpdate state) + { + Keys keys = Keys.None; + switch (state.Offset) + { + case JoystickOffset.PointOfViewControllers0: + switch (state.Value) + { + case 0: + keys = Keys.Up; + break; + case 9000: + keys = Keys.Right; + break; + case 18000: + keys = Keys.Down; + break; + case 27000: + keys = Keys.Left; + break; + default: + break; + } + + break; + case JoystickOffset.Buttons0: + if (state.Value == 128) + { + keys = Keys.Enter; + } + + break; + default: + break; + } + + return keys; + } + + private void ReadJoystickLoop(object sender, System.Timers.ElapsedEventArgs e) + { + if (joystickHelperEnabled) + { + lock (lockRead) + { + timerReadJoystick.Stop(); + if (joystick == null) + { + Thread.Sleep(3000); + InitializeJoystick(); + } + else + { + ReadJoystick(); + } + + timerReadJoystick.Start(); + } + } + } + + private void ReadJoystick() + { + try + { + joystick.Poll(); + JoystickUpdate[] datas = joystick.GetBufferedData(); + foreach (JoystickUpdate state in datas) + { + if (state.Value < 0) + { + pressingKey = Keys.None; + pressingKeyCounter = 0; + continue; + } + + Keys key = ReadKeyFromState(state); + if (key != Keys.None) + { + KeyPressed?.Invoke(key); + if (state.Offset == JoystickOffset.PointOfViewControllers0) + { + pressingKeyCounter = 0; + pressingKey = key; + } + } + } + + if (pressingKey != Keys.None) + { + pressingKeyCounter += 1; + if (pressingKeyCounter > 1) + { + KeyPressed?.Invoke(pressingKey); + } + } + } + catch + { + joystick?.Dispose(); + joystick = null; + } + } + + private void InitializeJoystick() + { + // Initialize DirectInput + DirectInput directInput = new(); + + // Find a Joystick Guid + Guid joystickGuid = Guid.Empty; + + foreach (DeviceInstance deviceInstance in directInput.GetDevices( + DeviceType.Gamepad, + DeviceEnumerationFlags.AllDevices)) + { + joystickGuid = deviceInstance.InstanceGuid; + } + + // If Gamepad not found, look for a Joystick + if (joystickGuid == Guid.Empty) + { + foreach (DeviceInstance deviceInstance in directInput.GetDevices( + DeviceType.Joystick, + DeviceEnumerationFlags.AllDevices)) + { + joystickGuid = deviceInstance.InstanceGuid; + } + } + + // If Joystick found + if (joystickGuid != Guid.Empty) + { + // Instantiate the joystick + joystick = new Joystick(directInput, joystickGuid); + + // Set BufferSize in order to use buffered data. + joystick.Properties.BufferSize = 128; + + var handle = Process.GetCurrentProcess().MainWindowHandle; + joystick.SetCooperativeLevel(handle, CooperativeLevel.NonExclusive | CooperativeLevel.Background); + + // Acquire the joystick + joystick.Acquire(); + } + } + } +} diff --git a/Helpers/Updater/GitHubUpdate.cs b/Helpers/Updater/GitHubUpdate.cs index 163da69f..aed54420 100644 --- a/Helpers/Updater/GitHubUpdate.cs +++ b/Helpers/Updater/GitHubUpdate.cs @@ -106,12 +106,13 @@ private static void ShowNewVersionOrUpToDateDialog(bool showWhenUpToDate) private static DialogResult NewVersionDialog() { const int ClientPad = 15; - newVersionForm = new(); - - newVersionForm.StartPosition = FormStartPosition.CenterScreen; - newVersionForm.FormBorderStyle = FormBorderStyle.FixedDialog; - newVersionForm.Icon = Config.GetAppIcon(); - newVersionForm.ShowInTaskbar = false; + newVersionForm = new() + { + StartPosition = FormStartPosition.CenterScreen, + FormBorderStyle = FormBorderStyle.FixedDialog, + Icon = Config.GetAppIcon(), + ShowInTaskbar = false, + }; newVersionForm.FormBorderStyle = FormBorderStyle.Sizable; newVersionForm.MaximizeBox = true; newVersionForm.MinimizeBox = false; @@ -119,15 +120,19 @@ private static DialogResult NewVersionDialog() newVersionForm.MinimumSize = newVersionForm.ClientSize; newVersionForm.Text = Translator.GetText("New version available!"); - Label label = new(); - label.Size = new Size(newVersionForm.ClientSize.Width - ClientPad, 20); - label.Location = new Point(ClientPad, ClientPad); - label.Text = $"{Translator.GetText("Latest available version:")} {GetLatestVersionName()}"; + Label label = new() + { + Size = new Size(newVersionForm.ClientSize.Width - ClientPad, 20), + Location = new Point(ClientPad, ClientPad), + Text = $"{Translator.GetText("Latest available version:")} {GetLatestVersionName()}", + }; newVersionForm.Controls.Add(label); - Button buttonOK = new(); - buttonOK.DialogResult = DialogResult.OK; - buttonOK.Name = "buttonOK"; + Button buttonOK = new() + { + DialogResult = DialogResult.OK, + Name = "buttonOK", + }; buttonOK.Location = new Point( newVersionForm.ClientSize.Width - buttonOK.Size.Width - ClientPad, newVersionForm.ClientSize.Height - buttonOK.Size.Height - ClientPad); @@ -138,9 +143,11 @@ private static DialogResult NewVersionDialog() buttonOK.AutoSize = true; newVersionForm.Controls.Add(buttonOK); - Button buttonGoToDownloadPage = new(); - buttonGoToDownloadPage.DialogResult = DialogResult.Yes; - buttonGoToDownloadPage.Name = "buttonGoToDownloadPage"; + Button buttonGoToDownloadPage = new() + { + DialogResult = DialogResult.Yes, + Name = "buttonGoToDownloadPage", + }; buttonGoToDownloadPage.Location = new Point( newVersionForm.ClientSize.Width - buttonGoToDownloadPage.Size.Width - ClientPad - buttonOK.Size.Width - ClientPad, newVersionForm.ClientSize.Height - buttonGoToDownloadPage.Size.Height - ClientPad); @@ -151,8 +158,10 @@ private static DialogResult NewVersionDialog() buttonGoToDownloadPage.AutoSize = true; newVersionForm.Controls.Add(buttonGoToDownloadPage); - TextBox textBox = new(); - textBox.Location = new Point(ClientPad, label.Location.Y + label.Size.Height + 5); + TextBox textBox = new() + { + Location = new Point(ClientPad, label.Location.Y + label.Size.Height + 5), + }; textBox.Size = new Size( newVersionForm.ClientSize.Width - (ClientPad * 2), buttonOK.Location.Y - ClientPad - textBox.Location.Y); diff --git a/Helpers/Updater/JsonParser.cs b/Helpers/Updater/JsonParser.cs index 0d1d0af9..eadafab6 100644 --- a/Helpers/Updater/JsonParser.cs +++ b/Helpers/Updater/JsonParser.cs @@ -61,25 +61,13 @@ public static class JSONParser public static T FromJson(this string json) { // Initialize, if needed, the ThreadStatic variables - if (propertyInfoCache == null) - { - propertyInfoCache = new Dictionary>(); - } + propertyInfoCache ??= new Dictionary>(); - if (fieldInfoCache == null) - { - fieldInfoCache = new Dictionary>(); - } + fieldInfoCache ??= new Dictionary>(); - if (stringBuilder == null) - { - stringBuilder = new StringBuilder(); - } + stringBuilder ??= new StringBuilder(); - if (splitArrayPool == null) - { - splitArrayPool = new Stack>(); - } + splitArrayPool ??= new Stack>(); // Remove all whitespace not within strings to make parsing simpler stringBuilder.Length = 0; diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index dc1c61e8..8e1fe37f 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.1.3")] -[assembly: AssemblyFileVersion("1.3.1.3")] +[assembly: AssemblyVersion("1.3.1.4")] +[assembly: AssemblyFileVersion("1.3.1.4")] diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs index 1f4c6fef..911f63b5 100644 --- a/Properties/Settings.Designer.cs +++ b/Properties/Settings.Designer.cs @@ -428,6 +428,22 @@ public bool OpenDirectoryWithOneClick } } + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("false")] + public bool SupportGamepad + { + get + { + return ((bool)(this["SupportGamepad"])); + } + set + { + this["SupportGamepad"] = value; + } + } + [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] diff --git a/README.md b/README.md index 79e2f005..1ddb0acc 100644 --- a/README.md +++ b/README.md @@ -331,10 +331,11 @@ PayPal/GitHub Sponsors - Thank you! ------------------ (Sponsors are listed here in the ReadMe and in the application about menu) * Stefan Mahrer +* [boydfields](https://github.com/boydfields) * [RuSieg](https://github.com/RuSieg) * Ralf K. * [donaldaken](https://github.com/donaldaken) * Marc Speer -* [boydfields](https://github.com/boydfields) +* Peter G. * [Traditional_Tap3954](https://www.reddit.com/user/Traditional_Tap3954/) * Maximilian H. diff --git a/Resources/Languages/lang.af.resx b/Resources/Languages/lang.af.resx index d4479e95..3fa167f9 100644 --- a/Resources/Languages/lang.af.resx +++ b/Resources/Languages/lang.af.resx @@ -139,7 +139,7 @@ Besonderhede - Stelsel inligting + Stelselinligting Gids ontoeganklik @@ -438,6 +438,9 @@ Enkelklik om 'n gids oop te maak + + Ondersteun Gamepad + Langs die vorige een @@ -496,7 +499,7 @@ Wys funksie sleutel 'Pin spyskaart' - Wys funksie sleutel 'Instellings' + Wys funksiesleutel 'Instellings' Wys funksiesleutel 'Herbegin' @@ -523,7 +526,7 @@ Kyk vir opdaterings - Gaan na die aflaaibladsy + Gaan na die aflaai bladsy Nuutste beskikbare weergawe: diff --git a/Resources/Languages/lang.ar.resx b/Resources/Languages/lang.ar.resx index 2683e846..392cb926 100644 --- a/Resources/Languages/lang.ar.resx +++ b/Resources/Languages/lang.ar.resx @@ -190,7 +190,7 @@ نقرة واحدة لفتح عنصر - نظام الألوان الداكن نشط دائمًا + نظام الألوان داكن نشط دائمًا متقدم @@ -438,6 +438,9 @@ نقرة واحدة لفتح دليل + + دعم Gamepad + بجانب السابق @@ -526,7 +529,7 @@ انتقل إلى صفحة التنزيل - أحدث نسخة متاحة: + أحدث إصدار متاح: نسخة جديدة متاحة! diff --git a/Resources/Languages/lang.az.resx b/Resources/Languages/lang.az.resx index 724fdc40..a1f03758 100644 --- a/Resources/Languages/lang.az.resx +++ b/Resources/Languages/lang.az.resx @@ -133,7 +133,7 @@ kataloq - Kataloq boş + Kataloq boşdur Təfərrüatlar @@ -202,7 +202,7 @@ Kataloqun dəyişdirilməsi - basın + klikləyin Özəlləşdirmək @@ -253,13 +253,13 @@ Nisbi kataloq - Konfiqurasiya faylını proqram kataloqunda saxlayın + Konfiqurasiya faylını proqram qovluğunda saxlayın Konfiqurasiya və log faylları - Proqram qovluğunu açın + Tətbiq qovluğunu açın Maksimum menyu hündürlüyü @@ -301,7 +301,7 @@ Siçan üzərinə sürüşdürərkən sürüşdürün 1 - Siçan onun üzərində hərəkət edərkən sürüşdürün 2 + Siçan üzərinə sürüşdürərkən sürüşdürün 2 Kataloqdan ikonadan istifadə edin @@ -379,7 +379,7 @@ Bu sayda element varsa, önbelleği təmizləyin - 'Başlat Menyu' nümunə qovluğu əlavə edin + 'Başlat Menyu' nümunə kataloqu əlavə edin Sıra hündürlüyü @@ -438,6 +438,9 @@ Bir qovluğu açmaq üçün bir kliklə + + Gamepad dəstəyi + Əvvəlki birinin yanında @@ -454,7 +457,7 @@ Nişan ölçüsü - SystemTrayMenu dəstəyi + SystemTrayMenu-nu dəstəkləyin Solğunluq diff --git a/Resources/Languages/lang.be.resx b/Resources/Languages/lang.be.resx index 91b81630..cb1d17fb 100644 --- a/Resources/Languages/lang.be.resx +++ b/Resources/Languages/lang.be.resx @@ -438,6 +438,9 @@ Адзін клік, каб адкрыць каталог + + Падтрымка геймпада + Побач з папярэднім diff --git a/Resources/Languages/lang.bg.resx b/Resources/Languages/lang.bg.resx index 9584aa18..00919410 100644 --- a/Resources/Languages/lang.bg.resx +++ b/Resources/Languages/lang.bg.resx @@ -438,6 +438,9 @@ Едно щракване за отваряне на директория + + Поддържа геймпад + До предишния diff --git a/Resources/Languages/lang.bn.resx b/Resources/Languages/lang.bn.resx index 532aefaa..7423e56f 100644 --- a/Resources/Languages/lang.bn.resx +++ b/Resources/Languages/lang.bn.resx @@ -217,7 +217,7 @@ মিলিসেকেন্ড যতক্ষণ না একটি মেনু খোলা হয় যখন মাউস এটিতে থাকে - মেনু বন্ধ না হওয়া পর্যন্ত মিলিসেকেন্ড যদি মাউস তারপর মেনু ছেড়ে যায় + মেনু বন্ধ না হওয়া পর্যন্ত মিলিসেকেন্ড যদি মাউস মেনু ছেড়ে চলে যায় সর্বাধিক মেনু প্রস্থ @@ -268,7 +268,7 @@ তীর - ক্লিক করার সময় তীরচিহ্ন + ক্লিক করার সময় তীর মাউস এটির উপর ঘোরার সময় তীরচিহ্ন @@ -316,7 +316,7 @@ আইকন - প্রসঙ্গ মেনু দ্বারা সেট + প্রসঙ্গ মেনু দ্বারা সেট করুন ডিরেক্টরি হিসাবে সেট করুন @@ -328,7 +328,7 @@ শর্টকাট লিঙ্কে সমস্যা - এই শর্টকাটটি যে আইটেমটিকে বোঝায় তা পরিবর্তন বা সরানো হয়েছে, তাই এই শর্টকাটটি আর সঠিকভাবে কাজ করবে না৷ + এই শর্টকাটটি যে আইটেমটি নির্দেশ করে তা পরিবর্তন বা সরানো হয়েছে, তাই এই শর্টকাটটি আর সঠিকভাবে কাজ করবে না। ডিরেক্টরি খুলুন @@ -337,7 +337,7 @@ কাজ ব্যবস্থাপক - নিষ্ক্রিয় করা হয়েছে + নিষ্ক্রিয় সক্রিয় @@ -438,6 +438,9 @@ একটি ডিরেক্টরি খুলতে একক ক্লিক করুন + + গেমপ্যাড সমর্থন করে + আগেরটির পাশে @@ -451,7 +454,7 @@ সাব মেনু প্রদর্শিত হবে - আইকনের আকার + আইকন আকার সিস্টেমট্রেমেনু সমর্থন করে diff --git a/Resources/Languages/lang.ca.resx b/Resources/Languages/lang.ca.resx index e5fa311d..7d96d91c 100644 --- a/Resources/Languages/lang.ca.resx +++ b/Resources/Languages/lang.ca.resx @@ -424,7 +424,7 @@ Fitxers i directoris ocults - No mostrar mai + No mostris mai Mida i ubicació @@ -438,6 +438,9 @@ Un sol clic per obrir un directori + + Suport Gamepad + Al costat de l'anterior @@ -478,7 +481,7 @@ Arrossegueu - Desplaceu-vos amb lliscar + Desplaceu-vos amb el dit Filtra el menú per tipus de fitxer, p. ex.: *.exe|*.dll diff --git a/Resources/Languages/lang.cs.resx b/Resources/Languages/lang.cs.resx index 987af037..d8793a27 100644 --- a/Resources/Languages/lang.cs.resx +++ b/Resources/Languages/lang.cs.resx @@ -190,7 +190,7 @@ Jediným kliknutím otevřete prvek - Barevné schéma tmavé vždy aktivní + Barevné schéma tmavé je vždy aktivní Pokročilý @@ -438,6 +438,9 @@ Jediným kliknutím otevřete adresář + + Podpora gamepadu + Vedle předchozího diff --git a/Resources/Languages/lang.cy.resx b/Resources/Languages/lang.cy.resx index 59779096..25490cc3 100644 --- a/Resources/Languages/lang.cy.resx +++ b/Resources/Languages/lang.cy.resx @@ -438,6 +438,9 @@ Cliciwch sengl i agor cyfeiriadur + + Cefnogi Gamepad + Wrth ymyl yr un blaenorol diff --git a/Resources/Languages/lang.da.resx b/Resources/Languages/lang.da.resx index 35abb425..91ca8f52 100644 --- a/Resources/Languages/lang.da.resx +++ b/Resources/Languages/lang.da.resx @@ -427,7 +427,7 @@ Vis aldrig - Størrelse og beliggenhed + Størrelse og placering Brug operativsystemindstillinger @@ -438,6 +438,9 @@ Enkelt klik for at åbne en mappe + + Support Gamepad + Ved siden af ​​den forrige @@ -535,6 +538,6 @@ Du har den seneste version af SystemTrayMenu! - Applikationsstørrelse + Anvendelsesstørrelse \ No newline at end of file diff --git a/Resources/Languages/lang.de.resx b/Resources/Languages/lang.de.resx index 0d94828a..82650152 100644 --- a/Resources/Languages/lang.de.resx +++ b/Resources/Languages/lang.de.resx @@ -438,6 +438,9 @@ Klicken Sie einmal, um ein Verzeichnis zu öffnen + + Gamepad unterstützen + Neben dem vorherigen diff --git a/Resources/Languages/lang.el.resx b/Resources/Languages/lang.el.resx index 359e3aec..8588a752 100644 --- a/Resources/Languages/lang.el.resx +++ b/Resources/Languages/lang.el.resx @@ -295,7 +295,7 @@ Ολισθητής - Ρυθμίστε κατά τη μεταφορά + Ρυθμιστικό κατά τη μεταφορά Σύρετε ενώ το ποντίκι αιωρείται πάνω του 1 @@ -438,6 +438,9 @@ Ένα μόνο κλικ για να ανοίξετε έναν κατάλογο + + Υποστήριξη Gamepad + Δίπλα στο προηγούμενο diff --git a/Resources/Languages/lang.en-GB.resx b/Resources/Languages/lang.en-GB.resx index 23ca468a..df74714e 100644 --- a/Resources/Languages/lang.en-GB.resx +++ b/Resources/Languages/lang.en-GB.resx @@ -438,6 +438,9 @@ Single click to open a directory + + Support Gamepad + Next to the previous one diff --git a/Resources/Languages/lang.eo.resx b/Resources/Languages/lang.eo.resx index 92b9a3b2..ba3a8ccd 100644 --- a/Resources/Languages/lang.eo.resx +++ b/Resources/Languages/lang.eo.resx @@ -438,6 +438,9 @@ Unu alklaku por malfermi dosierujon + + Subtenu Gamepad + Apud la antaŭa @@ -496,7 +499,7 @@ Montru funkcioklavon 'Alpingli menuon' - Montri funkcioklavon 'Agordoj' + Montru funkcioklavon 'Agordoj' Montru funkcioklavon 'Rekomenci' diff --git a/Resources/Languages/lang.es.resx b/Resources/Languages/lang.es.resx index 3fba5cf7..0557f2ee 100644 --- a/Resources/Languages/lang.es.resx +++ b/Resources/Languages/lang.es.resx @@ -163,7 +163,7 @@ General - tecla de acceso directo + tecla de acceso rápido Empieza con las ventanas @@ -364,7 +364,7 @@ Rutas de directorio - directorios + Directorios recursivo @@ -438,6 +438,9 @@ Un solo clic para abrir un directorio + + Compatible con mando + Al lado del anterior @@ -460,7 +463,7 @@ Desvanecimiento - Enviar tecla de acceso directo a otra instancia + Enviar tecla de acceso rápido a otra instancia Ordenado por fecha diff --git a/Resources/Languages/lang.et.resx b/Resources/Languages/lang.et.resx index 7f6cbf46..9e4332ed 100644 --- a/Resources/Languages/lang.et.resx +++ b/Resources/Languages/lang.et.resx @@ -193,7 +193,7 @@ Värvilahendus tume alati aktiivne - Täpsemalt + Täiustatud Hiire asukohas @@ -438,6 +438,9 @@ Kataloogi avamiseks tehke üks klõps + + Toetage mängupulti + Eelmise kõrval diff --git a/Resources/Languages/lang.eu.resx b/Resources/Languages/lang.eu.resx index 6aad37e3..e2827f29 100644 --- a/Resources/Languages/lang.eu.resx +++ b/Resources/Languages/lang.eu.resx @@ -438,6 +438,9 @@ Egin klik bakarrean direktorio bat irekitzeko + + Gamepad onartzen + Aurrekoaren ondoan diff --git a/Resources/Languages/lang.fa.resx b/Resources/Languages/lang.fa.resx index 799b60d6..0e1e14cd 100644 --- a/Resources/Languages/lang.fa.resx +++ b/Resources/Languages/lang.fa.resx @@ -438,6 +438,9 @@ برای باز کردن دایرکتوری فقط کلیک کنید + + پشتیبانی از گیم پد + کنار قبلی @@ -478,7 +481,7 @@ بکشید - از طریق کشیدن انگشت پیمایش کنید + از طریق سوایپ پیمایش کنید منوی فیلتر بر اساس نوع فایل به عنوان مثال: *.exe|*.dll diff --git a/Resources/Languages/lang.fi.resx b/Resources/Languages/lang.fi.resx index bd5a1151..33f37c85 100644 --- a/Resources/Languages/lang.fi.resx +++ b/Resources/Languages/lang.fi.resx @@ -438,11 +438,14 @@ Avaa hakemisto yhdellä napsautuksella + + Tuki peliohjainta + Edellisen viereen - Poikkeama pikseleillä + Offset pikseleillä Päällekkäinen diff --git a/Resources/Languages/lang.fr.resx b/Resources/Languages/lang.fr.resx index 619fcf87..43cef8a8 100644 --- a/Resources/Languages/lang.fr.resx +++ b/Resources/Languages/lang.fr.resx @@ -438,6 +438,9 @@ Un clic pour ouvrir un répertoire + + Prise en charge de la manette + A côté du précédent diff --git a/Resources/Languages/lang.ga.resx b/Resources/Languages/lang.ga.resx index 5df4ecc8..0a69e47a 100644 --- a/Resources/Languages/lang.ga.resx +++ b/Resources/Languages/lang.ga.resx @@ -438,6 +438,9 @@ Cliceáil amháin chun eolaire a oscailt + + Tacaigh le gamepad + In aice leis an gceann roimhe seo diff --git a/Resources/Languages/lang.gl.resx b/Resources/Languages/lang.gl.resx index 5d995fdc..7b67cdef 100644 --- a/Resources/Languages/lang.gl.resx +++ b/Resources/Languages/lang.gl.resx @@ -385,7 +385,7 @@ Altura da fila - Esquinas redondeadas + Cantos redondeados Aparición @@ -438,6 +438,9 @@ Fai clic só para abrir un directorio + + Soporte Gamepad + A carón do anterior diff --git a/Resources/Languages/lang.gu.resx b/Resources/Languages/lang.gu.resx index d7300167..5b7543af 100644 --- a/Resources/Languages/lang.gu.resx +++ b/Resources/Languages/lang.gu.resx @@ -217,7 +217,7 @@ જ્યારે માઉસ તેના પર હોય ત્યારે મેનૂ ખુલે ત્યાં સુધી મિલિસેકન્ડ - જો માઉસ મેનુ છોડી દે તો મેનુ બંધ થાય ત્યાં સુધી મિલિસેકન્ડ + જો માઉસ મેનુ છોડે તો મેનુ બંધ થાય ત્યાં સુધી મિલિસેકન્ડ મેનુની મહત્તમ પહોળાઈ @@ -328,7 +328,7 @@ શોર્ટકટ લિંક સાથે સમસ્યા - આ શૉર્ટકટ જે આઇટમનો સંદર્ભ આપે છે તે બદલી અથવા ખસેડવામાં આવી છે, તેથી આ શૉર્ટકટ હવે યોગ્ય રીતે કામ કરશે નહીં. + આ શૉર્ટકટ જે આઇટમનો સંદર્ભ આપે છે તે બદલી અથવા ખસેડવામાં આવી છે, તેથી આ શૉર્ટકટ હવે યોગ્ય રીતે કાર્ય કરશે નહીં. ડિરેક્ટરી ખોલો @@ -438,6 +438,9 @@ ડિરેક્ટરી ખોલવા માટે એક ક્લિક કરો + + ગેમપેડને સપોર્ટ કરો + પાછલા એકની બાજુમાં @@ -448,7 +451,7 @@ ઓવરલેપિંગ - સબ મેનુ દેખાય છે + સબ મેનૂ દેખાય છે ચિહ્નનું કદ @@ -472,7 +475,7 @@ વર્ગીકરણ - ખેંચો અને છોડો દ્વારા પંક્તિ તત્વની નકલ કરો + ખેંચો અને છોડો મારફતે પંક્તિ તત્વ નકલ કરો ખેંચો diff --git a/Resources/Languages/lang.hi.resx b/Resources/Languages/lang.hi.resx index 58d039f9..e6c3f833 100644 --- a/Resources/Languages/lang.hi.resx +++ b/Resources/Languages/lang.hi.resx @@ -438,8 +438,11 @@ निर्देशिका खोलने के लिए सिंगल क्लिक + + गेमपैड का समर्थन करें + - पिछले एक के आगे + पिछले वाले के आगे पिक्सेल द्वारा ऑफ़सेट @@ -451,7 +454,7 @@ उप मेनू प्रकट होता है - चिह्न आकार + चिह्न का आकार समर्थन प्रणालीट्रेमेनू diff --git a/Resources/Languages/lang.hr.resx b/Resources/Languages/lang.hr.resx index af489eae..b109b635 100644 --- a/Resources/Languages/lang.hr.resx +++ b/Resources/Languages/lang.hr.resx @@ -438,6 +438,9 @@ Jednim klikom otvorite imenik + + Podržava gamepad + Pored prethodnog diff --git a/Resources/Languages/lang.ht.resx b/Resources/Languages/lang.ht.resx index c7d6ca7a..15dc2651 100644 --- a/Resources/Languages/lang.ht.resx +++ b/Resources/Languages/lang.ht.resx @@ -268,7 +268,7 @@ Flèch - Flèch lè w klike + Flèch lè w klike sou Flèch pandan y ap sourit la sou li @@ -397,7 +397,7 @@ Anba dwat - Meni prensipal parèt + Meni prensipal la parèt Kote sourit (anwo a ikòn ba Travay la) @@ -438,6 +438,9 @@ Yon sèl klike sou yo louvri yon anyè + + Sipòte Gamepad + Akote youn anvan an diff --git a/Resources/Languages/lang.hu.resx b/Resources/Languages/lang.hu.resx index 763ec7b7..e31f4b54 100644 --- a/Resources/Languages/lang.hu.resx +++ b/Resources/Languages/lang.hu.resx @@ -262,7 +262,7 @@ Nyissa meg az alkalmazáskönyvtárat - Maximális menü magasság + A menü maximális magassága Nyíl @@ -438,6 +438,9 @@ Egyetlen kattintással megnyithat egy könyvtárat + + Támogatás Gamepad + Az előző mellé diff --git a/Resources/Languages/lang.hy.resx b/Resources/Languages/lang.hy.resx index a1ea1834..8669ad5c 100644 --- a/Resources/Languages/lang.hy.resx +++ b/Resources/Languages/lang.hy.resx @@ -438,6 +438,9 @@ Մեկ սեղմումով գրացուցակ բացելու համար + + Աջակցեք Gamepad-ին + Նախկինի կողքին diff --git a/Resources/Languages/lang.id.resx b/Resources/Languages/lang.id.resx index 2a8f07c0..b34bab27 100644 --- a/Resources/Languages/lang.id.resx +++ b/Resources/Languages/lang.id.resx @@ -301,7 +301,7 @@ Penggeser saat mouse melayang di atasnya 1 - Geser saat mouse melayang di atasnya 2 + Penggeser saat mouse melayang di atasnya 2 Gunakan ikon dari direktori @@ -385,7 +385,7 @@ Tinggi baris - Sudut bulat + Sudut bundar Penampilan @@ -438,6 +438,9 @@ Satu klik untuk membuka direktori + + Mendukung Gamepad + Di sebelah yang sebelumnya diff --git a/Resources/Languages/lang.is.resx b/Resources/Languages/lang.is.resx index f9a66470..5c88ff08 100644 --- a/Resources/Languages/lang.is.resx +++ b/Resources/Languages/lang.is.resx @@ -379,7 +379,7 @@ Hreinsaðu skyndiminni ef fleiri en þessi fjöldi liða - Bæta við sýnishornsmöppu 'Start Menu' + Bæta við sýnishornsskrá 'Start Menu' Röð hæð @@ -438,6 +438,9 @@ Einn smellur til að opna möppu + + Stuðningur Gamepad + Við hliðina á fyrri @@ -460,7 +463,7 @@ Dvínandi - Sendu flýtilykla í annað tilvik + Sendu flýtilykil í annað tilvik Raðað eftir dagsetningu diff --git a/Resources/Languages/lang.it.resx b/Resources/Languages/lang.it.resx index d53bdfda..32c19a3b 100644 --- a/Resources/Languages/lang.it.resx +++ b/Resources/Languages/lang.it.resx @@ -438,6 +438,9 @@ Fare clic per aprire una directory + + Supporta il gamepad + Accanto al precedente diff --git a/Resources/Languages/lang.iw.resx b/Resources/Languages/lang.iw.resx index f8021bbf..ebc2bfa2 100644 --- a/Resources/Languages/lang.iw.resx +++ b/Resources/Languages/lang.iw.resx @@ -181,7 +181,7 @@ בחר ספרייה - ספריית השורש שלך עבור האפליקציה אינה קיימת או ריקה! שנה את ספריית השורש או הכנס מספר קבצים, ספריות או קיצורי דרך בספריית השורש. + ספריית השורש שלך עבור האפליקציה אינה קיימת או ריקה! שנה את ספריית השורש או הכנס כמה קבצים, ספריות או קיצורי דרך בספריית השורש. אין לך גישה לספריית השורש של האפליקציה. הענק גישה לספרייה או שנה את ספריית הבסיס. @@ -325,7 +325,7 @@ טוען - בעיה עם קישור קיצור + בעיה בקישור קיצורי דרך הפריט שאליו מתייחס קיצור הדרך השתנה או הועבר, כך שקיצור זה לא יפעל עוד כראוי. @@ -438,6 +438,9 @@ לחיצה אחת לפתיחת ספרייה + + תמיכה ב-Gamepad + ליד הקודם diff --git a/Resources/Languages/lang.ja.resx b/Resources/Languages/lang.ja.resx index defd8f5d..2bd243db 100644 --- a/Resources/Languages/lang.ja.resx +++ b/Resources/Languages/lang.ja.resx @@ -118,16 +118,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - SystemTrayMenuについて + システムトレイメニューについて わかった - アプリの起動 + アプリ起動 - アプリを終了します + アプリを終了 ディレクトリ @@ -166,7 +166,7 @@ ホットキー - Windowsから始める + Windows から始める 設定 @@ -175,28 +175,28 @@ よくある質問 - FAQを読んでから、SystemTrayMenuのルートディレクトリを選択してください。 + FAQ を読み、SystemTrayMenu のルート ディレクトリを選択します。 ディレクトリを選択 - アプリのルートディレクトリが存在しないか、空です。ルートディレクトリを変更するか、いくつかのファイル、ディレクトリ、またはショートカットをルートディレクトリに配置します。 + アプリのルート ディレクトリが存在しないか空です。ルート ディレクトリを変更するか、一部のファイル、ディレクトリ、またはショートカットをルート ディレクトリに配置します。 - アプリのルートディレクトリにアクセスできません。ディレクトリへのアクセスを許可するか、ルートディレクトリを変更します。 + アプリのルート ディレクトリにはアクセスできません。ディレクトリへのアクセスを許可するか、ルート ディレクトリを変更してください。 - シングルクリックして要素を開きます + シングルクリックで要素を開く - 配色は常にアクティブダーク + カラー スキーム ダーク 常にアクティブ 高度 - マウスの位置で + マウスの位置 ディレクトリの変更 @@ -214,10 +214,10 @@ フォーカスが失われ、マウスがまだメニュー上にある場合 - マウスを置いたときにメニューが開くまでのミリ秒 + マウスが上にあるときにメニューが開くまでのミリ秒 - マウスがメニューを離れた場合、メニューが閉じるまでのミリ秒 + マウスがメニューから離れた場合にメニューが閉じるまでのミリ秒 メニューの最大幅 @@ -226,7 +226,7 @@ メニューは開いたままです - メニューが開くまでの時間 + メニューオープンまでの時間 要素がクリックされた場合 @@ -238,7 +238,7 @@ 開いたディレクトリ - 開いたディレクトリの境界 + 開いているディレクトリの境界 検索フィールド @@ -247,22 +247,22 @@ 選択した要素 - 選択した要素の境界線 + 選択した要素の境界 相対ディレクトリ - 構成ファイルをアプリケーションディレクトリに保存します + 設定ファイルをアプリケーションディレクトリに保存 - 構成ファイルとログファイル + 構成ファイルとログ ファイル - アプリケーションディレクトリを開く + アプリケーション ディレクトリを開く - メニューの最大の高さ + メニューの最大高さ 矢印 @@ -271,19 +271,19 @@ クリック時の矢印 - マウスをその上に置いたときの矢印 + マウスオーバー時の矢印 クリック時の矢印の背景 - マウスをその上に置いている間の矢印の背景 + マウスが上にあるときの矢印の背景 配色ダーク - 明るい配色 + 配色明るい アプリメニュー @@ -298,19 +298,19 @@ ドラッグ中のスライダー - マウスをその上に置いたときのスライダー1 + マウスを上に置いたときのスライダー 1 - マウスをその上に置いたときのスライダー2 + マウスが上にあるときのスライダー 2 ディレクトリのアイコンを使用 - サイズ(パーセント) + パーセントでのサイズ - メニューの境界 + メニューの枠 アイコン @@ -325,31 +325,31 @@ 読み込み中 - ショートカットリンクの問題 + ショートカット リンクの問題 - このショートカットが参照するアイテムが変更または移動されたため、このショートカットは正しく機能しなくなります。 + このショートカットが参照するアイテムは変更または移動されたため、このショートカットは正しく機能しなくなりました。 - Directoryを開く + ディレクトリを開く タスクマネージャー - 非アクティブ化 + 非活動化 - 有効化 + アクティブ化 エキスパート - フォーカスが失われ、Enterキーが押された場合 + フォーカスが失われ、Enter キーが押された場合 - メニューが再度アクティブ化されない場合、メニューが閉じるまでのミリ秒 + メニューが再アクティブ化されない場合、メニューが閉じるまでのミリ秒 タスクバーに表示 @@ -358,10 +358,10 @@ ディレクトリを追加 - ディレクトリの内容をルートディレクトリに追加します + ディレクトリの内容をルート ディレクトリに追加する - ディレクトリパス + ディレクトリ パス ディレクトリ @@ -370,22 +370,22 @@ 再帰的 - ディレクトリを削除する + ディレクトリを削除 ファイルのみ - この数を超えるアイテムがある場合は、キャッシュをクリアします + 項目数がこの数を超える場合はキャッシュをクリアします - サンプルディレクトリを追加する「スタートメニュー」 + サンプルディレクトリ「スタートメニュー」を追加 行の高さ - 丸い角 + 角を丸くする 外観 @@ -400,10 +400,10 @@ メインメニューが表示されます - マウスの位置(タスクバーアイコンの上) + マウスの位置 (タスクバー アイコンの上) - カスタム(適切な位置にドラッグします) + カスタム (適切な位置にドラッグします) エレメント @@ -412,7 +412,7 @@ 要素 - 起動時にドライブショートカットを生成する + 起動時にドライブ ショートカットを生成する キャッシュ @@ -421,7 +421,7 @@ いつも見せる - 隠しファイルと隠しディレクトリ + 隠しファイルとディレクトリ 表示しない @@ -430,19 +430,22 @@ サイズと場所 - オペレーティングシステムの設定を使用する + オペレーティング システムの設定を使用する 検索結果としてのみ表示 - シングルクリックしてディレクトリを開きます + シングルクリックでディレクトリを開く + + + ゲームパッドをサポート - 前のものの隣 + 一つ前の続き - ピクセルによるオフセット + ピクセル単位でオフセット 重複 @@ -454,7 +457,7 @@ アイコンサイズ - SystemTrayMenuをサポートする + SystemTrayMenu をサポート フェージング @@ -463,16 +466,16 @@ ホットキーを他のインスタンスに送信する - 日付でソート + 日付順 - 名前で並べ替え + 名前順 並べ替え - ドラッグアンドドロップで行要素をコピーする + ドラッグ アンド ドロップで行要素をコピーする 引っ張る @@ -481,16 +484,16 @@ スワイプでスクロール - ファイルタイプでメニューをフィルタリングします。例:*。exe | * .dll + ファイルの種類でメニューをフィルター処理します。例: *.exe|*.dll - 要素の数を表示する + 要素数を表示 - 上部にディレクトリタイトルを表示する + ディレクトリのタイトルを一番上に表示 - ファンクションキー「フォルダを開く」を表示する + ファンクションキー「フォルダを開く」を表示 ファンクションキー「ピンメニュー」を表示 @@ -499,40 +502,40 @@ ファンクションキー「設定」を表示 - ファンクションキーの表示「再起動」 + ファンクションキー「再起動」を表示 - 検索バーを表示する + 検索バーを表示 - アプリケーションディレクトリにログファイルを保存する + ログファイルをアプリケーションディレクトリに保存 リンクオーバーレイを表示 - インターネットショートカットアイコンのディレクトリ + インターネット ショートカット アイコンのディレクトリ - タイプと日付でソート + 種類別、日付別 - タイプと名前で並べ替え + 種類と名前で並べ替え アップデートを確認 - ダウンロードページに移動 + ダウンロードページへ - 利用可能な最新バージョン: + 利用可能な最新バージョン: - 新しいバージョンが利用可能です! + 新バージョンが登場! - SystemTrayMenuの最新バージョンがあります! + SystemTrayMenu は最新バージョンです。 アプリケーションサイズ diff --git a/Resources/Languages/lang.ka.resx b/Resources/Languages/lang.ka.resx index 0f7bb7ba..64a5b572 100644 --- a/Resources/Languages/lang.ka.resx +++ b/Resources/Languages/lang.ka.resx @@ -127,7 +127,7 @@ აპლიკაციის დაწყება - აპიდან გასვლა + აპლიკაციიდან გასვლა დირექტორია @@ -316,7 +316,7 @@ ხატები - დაყენებულია კონტექსტური მენიუს მიხედვით + კონტექსტური მენიუს დაყენება დააყენეთ დირექტორიად @@ -355,7 +355,7 @@ დავალების პანელში ჩვენება - დირექტორია დაამატეთ + დირექტორიას დამატება დაამატეთ დირექტორიას შინაარსი root დირექტორიაში @@ -397,7 +397,7 @@ ქვედა მარჯვენა - მთავარი მენიუ გამოჩნდება + გამოჩნდება მთავარი მენიუ მაუსის მდებარეობა (დავალებების ზოლის ხატულაზე) @@ -438,6 +438,9 @@ ერთი დაწკაპუნებით დირექტორიას გასახსნელად + + Gamepad-ის მხარდაჭერა + წინას გვერდით @@ -529,7 +532,7 @@ უახლესი ხელმისაწვდომი ვერსია: - ხელმისაწვდომია ახალი ვერსია! + ახალი ვერსია ხელმისაწვდომია! თქვენ გაქვთ SystemTrayMenu-ს უახლესი ვერსია! diff --git a/Resources/Languages/lang.km.resx b/Resources/Languages/lang.km.resx index 880367de..25014713 100644 --- a/Resources/Languages/lang.km.resx +++ b/Resources/Languages/lang.km.resx @@ -438,6 +438,9 @@ ចុចមួយដងដើម្បីបើកថត + + គាំទ្រ Gamepad + នៅជាប់នឹងមុន។ @@ -499,7 +502,7 @@ បង្ហាញសោមុខងារ 'ការកំណត់' - បង្ហាញសោមុខងារ 'ចាប់ផ្តើមឡើងវិញ' + បង្ហាញប៊ូតុងមុខងារ 'ចាប់ផ្តើមឡើងវិញ' បង្ហាញរបារស្វែងរក diff --git a/Resources/Languages/lang.kn.resx b/Resources/Languages/lang.kn.resx index ab85fea1..cad02be8 100644 --- a/Resources/Languages/lang.kn.resx +++ b/Resources/Languages/lang.kn.resx @@ -438,6 +438,9 @@ ಡೈರೆಕ್ಟರಿಯನ್ನು ತೆರೆಯಲು ಒಂದೇ ಕ್ಲಿಕ್ ಮಾಡಿ + + ಗೇಮ್‌ಪ್ಯಾಡ್ ಅನ್ನು ಬೆಂಬಲಿಸಿ + ಹಿಂದಿನದಕ್ಕೆ ಮುಂದೆ diff --git a/Resources/Languages/lang.ko.resx b/Resources/Languages/lang.ko.resx index 0d3105d5..fad3dbb2 100644 --- a/Resources/Languages/lang.ko.resx +++ b/Resources/Languages/lang.ko.resx @@ -349,7 +349,7 @@ 초점을 잃고 Enter 키를 누른 경우 - 메뉴가 다시 활성화되지 않은 경우 메뉴가 닫힐 때까지의 시간(밀리초) + 메뉴가 다시 활성화되지 않으면 메뉴가 닫힐 때까지의 시간(밀리초) 작업 표시줄에 표시 @@ -438,6 +438,9 @@ 한 번 클릭하여 디렉토리 열기 + + 지원 게임 패드 + 전작에 이어 diff --git a/Resources/Languages/lang.la.resx b/Resources/Languages/lang.la.resx index c718c044..435a5d26 100644 --- a/Resources/Languages/lang.la.resx +++ b/Resources/Languages/lang.la.resx @@ -121,7 +121,7 @@ De SystemTrayMenu - Bene + OK App satus @@ -438,6 +438,9 @@ Single click aperire directorium + + Support Gamepad + Iuxta priorem @@ -493,7 +496,7 @@ Munus monstrare clavis 'Open Folder' - Munus monstrare key 'Pin menu' + Munus monstrare clavis 'Pin menu' Munus monstrare key 'Optiones' @@ -517,7 +520,7 @@ Ordinatae genus et diem - Ordinata genus et nomen + Ordinatae genus et nomen Reprehendo pro updates diff --git a/Resources/Languages/lang.lo.resx b/Resources/Languages/lang.lo.resx index 10950b40..567d10cf 100644 --- a/Resources/Languages/lang.lo.resx +++ b/Resources/Languages/lang.lo.resx @@ -438,6 +438,9 @@ ຄລິກດຽວເພື່ອເປີດໄດເລກະທໍລີ + + ຮອງຮັບ Gamepad + ຖັດຈາກອັນກ່ອນໜ້າ @@ -529,7 +532,7 @@ ສະ​ບັບ​ຫລ້າ​ສຸດ​ທີ່​ມີ​ຢູ່​: - ລຸ້ນໃໝ່ມີໃຫ້! + ມີລຸ້ນໃໝ່! ທ່ານມີເວີຊັນຫຼ້າສຸດຂອງ SystemTrayMenu! diff --git a/Resources/Languages/lang.lt.resx b/Resources/Languages/lang.lt.resx index d3e4289c..c1b3828d 100644 --- a/Resources/Languages/lang.lt.resx +++ b/Resources/Languages/lang.lt.resx @@ -379,7 +379,7 @@ Išvalykite talpyklą, jei daugiau nei šis elementų skaičius - Pridėti pavyzdinį katalogą "Start Menu" + Pridėti pavyzdinį katalogą „Start Menu“ Eilės aukštis @@ -438,6 +438,9 @@ Vienu paspaudimu atidarykite katalogą + + Palaikykite žaidimų pultą + Šalia ankstesnio diff --git a/Resources/Languages/lang.lv.resx b/Resources/Languages/lang.lv.resx index c91a1182..368f74cd 100644 --- a/Resources/Languages/lang.lv.resx +++ b/Resources/Languages/lang.lv.resx @@ -130,7 +130,7 @@ Iziet no lietotnes - Katalogs + Direktorija Direktorija tukša @@ -250,7 +250,7 @@ Atlasītā elementa apmale - Relatīvais direktorijs + Relatīvā direktorija Saglabājiet konfigurācijas failu lietojumprogrammu direktorijā @@ -438,6 +438,9 @@ Ar vienu klikšķi atveriet direktoriju + + Atbalsta spēļu paneli + Blakus iepriekšējam diff --git a/Resources/Languages/lang.mk.resx b/Resources/Languages/lang.mk.resx index 655e3d82..5755c0bd 100644 --- a/Resources/Languages/lang.mk.resx +++ b/Resources/Languages/lang.mk.resx @@ -139,7 +139,7 @@ Детали - Информации за системот + Системски информации Директориумот е недостапен @@ -370,7 +370,7 @@ Рекурзивен - Отстрани директориум + Отстранете го директориумот Само датотеки @@ -438,6 +438,9 @@ Еден клик за да отворите директориум + + Поддржете гејмпад + До претходниот diff --git a/Resources/Languages/lang.ms.resx b/Resources/Languages/lang.ms.resx index 114fe220..7ca1d354 100644 --- a/Resources/Languages/lang.ms.resx +++ b/Resources/Languages/lang.ms.resx @@ -438,6 +438,9 @@ Satu klik untuk membuka direktori + + Sokong Gamepad + Bersebelahan dengan yang sebelumnya diff --git a/Resources/Languages/lang.mt.resx b/Resources/Languages/lang.mt.resx index c32baaf8..1b05c930 100644 --- a/Resources/Languages/lang.mt.resx +++ b/Resources/Languages/lang.mt.resx @@ -124,7 +124,7 @@ kollox sew - Bidu tal-app + App start Ħruġ app @@ -199,7 +199,7 @@ Fil-post tal-ġurdien - Bdil tad-direttorju + Tibdil tad-direttorju Ikklikkja @@ -256,7 +256,7 @@ Issejvja l-fajl tal-konfigurazzjoni fid-direttorju tal-applikazzjoni - Konfigurazzjoni u fajls log + Konfigurazzjoni u log files Iftaħ id-direttorju tal-applikazzjoni @@ -295,7 +295,7 @@ Slider - Slider waqt li jkaxkru + Slider waqt li tkaxkar Slider waqt li l-maws jgħaddi fuqu 1 @@ -438,11 +438,14 @@ Ikklikkja waħda biex tiftaħ direttorju + + Appoġġ Gamepad + Ħdejn dak ta’ qabel - Offset mill-pixels + Offset bil-pixels Jikkoinċidu diff --git a/Resources/Languages/lang.nl.resx b/Resources/Languages/lang.nl.resx index 585df364..96ecd977 100644 --- a/Resources/Languages/lang.nl.resx +++ b/Resources/Languages/lang.nl.resx @@ -361,7 +361,7 @@ Inhoud van map toevoegen aan hoofdmap - Directorypaden + Mappaden Directory's @@ -438,6 +438,9 @@ Enkele klik om een ​​map te openen + + Ondersteuning Gamepad + Naast de vorige diff --git a/Resources/Languages/lang.no.resx b/Resources/Languages/lang.no.resx index e0684a3f..a1a50e3b 100644 --- a/Resources/Languages/lang.no.resx +++ b/Resources/Languages/lang.no.resx @@ -316,10 +316,10 @@ Ikoner - Sett av kontekstmeny + Angis av kontekstmenyen - Sett som katalog + Angi som katalog lasting @@ -438,6 +438,9 @@ Enkeltklikk for å åpne en katalog + + Støtte Gamepad + Ved siden av den forrige diff --git a/Resources/Languages/lang.pl.resx b/Resources/Languages/lang.pl.resx index a56d4104..bc461219 100644 --- a/Resources/Languages/lang.pl.resx +++ b/Resources/Languages/lang.pl.resx @@ -438,6 +438,9 @@ Pojedyncze kliknięcie, aby otworzyć katalog + + Wsparcie Gamepad + Obok poprzedniego @@ -454,13 +457,13 @@ Rozmiar ikony - Wsparcie SystemoweTacaMenu + Wsparcie systemoweTacaMenu Zblakły - Wyślij klawisz skrótu do innej instancji + Wyślij skrót do innej instancji Posortowane według daty diff --git a/Resources/Languages/lang.pt-BR.resx b/Resources/Languages/lang.pt-BR.resx index 94113256..c44dba54 100644 --- a/Resources/Languages/lang.pt-BR.resx +++ b/Resources/Languages/lang.pt-BR.resx @@ -175,7 +175,7 @@ perguntas frequentes - Leia o FAQ e escolha um diretório raiz para SystemTrayMenu. + Leia as perguntas frequentes e escolha um diretório raiz para SystemTrayMenu. Selecionar diretório @@ -438,6 +438,9 @@ Clique único para abrir um diretório + + Suporte Gamepad + Ao lado do anterior diff --git a/Resources/Languages/lang.pt-PT.resx b/Resources/Languages/lang.pt-PT.resx index 94113256..c44dba54 100644 --- a/Resources/Languages/lang.pt-PT.resx +++ b/Resources/Languages/lang.pt-PT.resx @@ -175,7 +175,7 @@ perguntas frequentes - Leia o FAQ e escolha um diretório raiz para SystemTrayMenu. + Leia as perguntas frequentes e escolha um diretório raiz para SystemTrayMenu. Selecionar diretório @@ -438,6 +438,9 @@ Clique único para abrir um diretório + + Suporte Gamepad + Ao lado do anterior diff --git a/Resources/Languages/lang.resx b/Resources/Languages/lang.resx index ccfb41fa..f422553c 100644 --- a/Resources/Languages/lang.resx +++ b/Resources/Languages/lang.resx @@ -437,6 +437,9 @@ Single click to open a directory + + + Support Gamepad Next to the previous one diff --git a/Resources/Languages/lang.ro.resx b/Resources/Languages/lang.ro.resx index f093d344..fb353068 100644 --- a/Resources/Languages/lang.ro.resx +++ b/Resources/Languages/lang.ro.resx @@ -181,7 +181,7 @@ Selectați directorul - Directorul tău rădăcină pentru aplicație nu există sau este gol! Schimbați directorul rădăcină sau puneți unele fișiere, directoare sau comenzi rapide în directorul rădăcină. + Directorul dvs. rădăcină pentru aplicație nu există sau este gol! Schimbați directorul rădăcină sau puneți unele fișiere, directoare sau comenzi rapide în directorul rădăcină. Nu aveți acces la directorul rădăcină al aplicației. Acordați acces la director sau schimbați directorul rădăcină. @@ -313,7 +313,7 @@ Chenarul meniului - Pictograme + icoane Setați prin meniul contextual @@ -328,7 +328,7 @@ Problemă cu legătura rapidă - Elementul la care se referă această comandă rapidă a fost schimbat sau mutat, așa că această comandă rapidă nu va mai funcționa corect. + Elementul la care se referă această comandă rapidă a fost modificat sau mutat, așa că această comandă rapidă nu va mai funcționa corect. Deschide directorul @@ -379,7 +379,7 @@ Goliți memoria cache dacă este mai mare de acest număr de elemente - Adăugați exemplu de director „Meniu Start” + Adăugați exemplu de director „Meniul Start” Înălțimea rândului @@ -412,7 +412,7 @@ elemente - Generați comenzi rapide pentru unitate la pornire + Generați comenzi rapide pentru unități la pornire Cache @@ -438,6 +438,9 @@ Un singur clic pentru a deschide un director + + Suport Gamepad + Alături de precedentul @@ -490,7 +493,7 @@ Afișați titlul directorului în partea de sus - Afișați tasta funcțională „Deschidere folder” + Afișați tasta funcțională „Deschidere dosar” Afișați tasta funcțională „Pin meniu” diff --git a/Resources/Languages/lang.ru.resx b/Resources/Languages/lang.ru.resx index e5be51e8..1d7e9908 100644 --- a/Resources/Languages/lang.ru.resx +++ b/Resources/Languages/lang.ru.resx @@ -438,6 +438,9 @@ Один щелчок, чтобы открыть каталог + + Поддержка геймпада + Рядом с предыдущим diff --git a/Resources/Languages/lang.sk.resx b/Resources/Languages/lang.sk.resx index c869f098..9e786345 100644 --- a/Resources/Languages/lang.sk.resx +++ b/Resources/Languages/lang.sk.resx @@ -373,7 +373,7 @@ Odstrániť adresár - Iba súbory + Iba Súbory Ak je viac ako tento počet položiek, vymažte vyrovnávaciu pamäť @@ -400,7 +400,7 @@ Zobrazí sa hlavné menu - Umiestnenie myši (nad ikonou na paneli úloh) + Poloha myši (nad ikonou na paneli úloh) Vlastné (presuňte ho na príslušné miesto) @@ -438,6 +438,9 @@ Jediným kliknutím otvoríte adresár + + Podpora gamepadu + Vedľa predchádzajúcej diff --git a/Resources/Languages/lang.sl.resx b/Resources/Languages/lang.sl.resx index 2a9569dc..8454edea 100644 --- a/Resources/Languages/lang.sl.resx +++ b/Resources/Languages/lang.sl.resx @@ -438,6 +438,9 @@ En klik za odpiranje imenika + + Podpora Gamepad + Poleg prejšnjega diff --git a/Resources/Languages/lang.sq.resx b/Resources/Languages/lang.sq.resx index 1a9ffabf..161b260e 100644 --- a/Resources/Languages/lang.sq.resx +++ b/Resources/Languages/lang.sq.resx @@ -316,7 +316,7 @@ Ikonat - Vendosur sipas menysë së kontekstit + Vendoset sipas menysë së kontekstit Cakto si drejtori @@ -331,7 +331,7 @@ Artikulli të cilit i referohet kjo shkurtore është ndryshuar ose zhvendosur, kështu që kjo shkurtore nuk do të funksionojë më siç duhet. - Hap direktorinë + Hap drejtorinë Menaxher detyrë @@ -438,6 +438,9 @@ Një klikim i vetëm për të hapur një direktori + + Mbështet Gamepad + Pranë të mëparshmes @@ -475,7 +478,7 @@ Kopjoni elementin e rreshtit duke zvarritur dhe lëshuar - Zvarritni + Zvarrit Lëvizni përmes rrëshqitjes diff --git a/Resources/Languages/lang.sr.resx b/Resources/Languages/lang.sr.resx index 58bb9588..14d24810 100644 --- a/Resources/Languages/lang.sr.resx +++ b/Resources/Languages/lang.sr.resx @@ -247,7 +247,7 @@ Изабрани елемент - Граница изабраног елемента + Ивица изабраног елемента Релативни именик @@ -373,7 +373,7 @@ Уклони директоријум - Само датотеке + Онли Филес Обришите кеш ако је више од овог броја ставки @@ -438,6 +438,9 @@ Један клик да отворите директоријум + + Подршка Гамепад + Поред претходног @@ -481,7 +484,7 @@ Померајте се превлачењем - Филтрирај мени према типу датотеке, нпр.: *.еке|*.длл + Филтрирајте мени према типу датотеке, нпр.: *.еке|*.длл Прикажи број елемената diff --git a/Resources/Languages/lang.sv.resx b/Resources/Languages/lang.sv.resx index a9b228d8..3a5792b4 100644 --- a/Resources/Languages/lang.sv.resx +++ b/Resources/Languages/lang.sv.resx @@ -277,7 +277,7 @@ Bakgrund av pil när du klickar - Bakgrund av pilen medan musen svävar över den + Bakgrund av pil medan musen svävar över den Färgschema mörkt @@ -436,7 +436,10 @@ Visa endast som sökresultat - Ett klick för att öppna en katalog + Enkelklick för att öppna en katalog + + + Support Gamepad Bredvid den föregående diff --git a/Resources/Languages/lang.sw.resx b/Resources/Languages/lang.sw.resx index 2b9096da..bf767ef5 100644 --- a/Resources/Languages/lang.sw.resx +++ b/Resources/Languages/lang.sw.resx @@ -438,6 +438,9 @@ Bofya mara moja ili kufungua saraka + + Msaada wa Gamepad + Karibu na uliopita @@ -526,7 +529,7 @@ Nenda kwenye ukurasa wa kupakua - Toleo la hivi punde linalopatikana: + Toleo linalopatikana hivi karibuni: Toleo jipya linapatikana! diff --git a/Resources/Languages/lang.ta.resx b/Resources/Languages/lang.ta.resx index 2765e7e6..32ce7f10 100644 --- a/Resources/Languages/lang.ta.resx +++ b/Resources/Languages/lang.ta.resx @@ -175,7 +175,7 @@ அடிக்கடி கேட்கப்படும் கேள்விகள் - அடிக்கடி கேட்கப்படும் கேள்விகளைப் படித்து, பின்னர் SystemTrayMenuக்கான ரூட் கோப்பகத்தைத் தேர்ந்தெடுக்கவும். + அடிக்கடி கேட்கப்படும் கேள்விகளைப் படித்து பின்னர் SystemTrayMenu க்கான ரூட் கோப்பகத்தைத் தேர்ந்தெடுக்கவும். கோப்பகத்தைத் தேர்ந்தெடுக்கவும் @@ -376,7 +376,7 @@ கோப்புகள் மட்டும் - இந்த எண்ணிக்கையை விட அதிகமான உருப்படிகள் இருந்தால் தற்காலிக சேமிப்பை அழிக்கவும் + உருப்படிகளின் எண்ணிக்கையை விட அதிகமாக இருந்தால் தற்காலிக சேமிப்பை அழிக்கவும் 'ஸ்டார்ட் மெனு' மாதிரி கோப்பகத்தைச் சேர்க்கவும் @@ -438,6 +438,9 @@ ஒரு கோப்பகத்தைத் திறக்க ஒற்றை கிளிக் செய்யவும் + + கேம்பேடை ஆதரிக்கவும் + முந்தையதை அடுத்து diff --git a/Resources/Languages/lang.te.resx b/Resources/Languages/lang.te.resx index 925594d5..ecf6bc2c 100644 --- a/Resources/Languages/lang.te.resx +++ b/Resources/Languages/lang.te.resx @@ -394,7 +394,7 @@ దిగువ ఎడమ - దిగువ కుడివైపు + దిగువ కుడి ప్రధాన మెనూ కనిపిస్తుంది @@ -436,7 +436,10 @@ శోధన ఫలితంగా మాత్రమే చూపు - డైరెక్టరీని తెరవడానికి ఒక్క క్లిక్ చేయండి + డైరెక్టరీని తెరవడానికి ఒకే క్లిక్ చేయండి + + + గేమ్‌ప్యాడ్‌కు మద్దతు ఇవ్వండి మునుపటిది పక్కన diff --git a/Resources/Languages/lang.th.resx b/Resources/Languages/lang.th.resx index b04a8948..0721f9fc 100644 --- a/Resources/Languages/lang.th.resx +++ b/Resources/Languages/lang.th.resx @@ -370,7 +370,7 @@ เรียกซ้ำ - ลบไดเร็กทอรี + ลบไดเรกทอรี เฉพาะไฟล์ @@ -438,6 +438,9 @@ คลิกเพียงครั้งเดียวเพื่อเปิดไดเร็กทอรี + + รองรับ Gamepad + ต่อจากอันที่แล้ว diff --git a/Resources/Languages/lang.tl.resx b/Resources/Languages/lang.tl.resx index 8fd5a4ae..5a888a3d 100644 --- a/Resources/Languages/lang.tl.resx +++ b/Resources/Languages/lang.tl.resx @@ -438,6 +438,9 @@ Isang pag-click upang buksan ang isang direktoryo + + Suportahan ang Gamepad + Sa tabi ng nauna diff --git a/Resources/Languages/lang.tr.resx b/Resources/Languages/lang.tr.resx index 098d07e1..6281ca94 100644 --- a/Resources/Languages/lang.tr.resx +++ b/Resources/Languages/lang.tr.resx @@ -438,6 +438,9 @@ Bir klasörü açmak için tek tıklama + + Destek Gamepad + Bir öncekinin yanında diff --git a/Resources/Languages/lang.uk.resx b/Resources/Languages/lang.uk.resx index c1e89a37..908c84e8 100644 --- a/Resources/Languages/lang.uk.resx +++ b/Resources/Languages/lang.uk.resx @@ -438,6 +438,9 @@ Один клік, щоб відкрити каталог + + Підтримка геймпада + Поряд з попереднім diff --git a/Resources/Languages/lang.ur.resx b/Resources/Languages/lang.ur.resx index 40436cd2..60dae2dd 100644 --- a/Resources/Languages/lang.ur.resx +++ b/Resources/Languages/lang.ur.resx @@ -133,7 +133,7 @@ ڈائریکٹری - ڈائریکٹری خالی + ڈائرکٹری خالی ہے۔ تفصیلات @@ -217,7 +217,7 @@ جب ماؤس اس پر ہوتا ہے تو ایک مینو کھلنے تک ملی سیکنڈ - ملی سیکنڈ جب تک مینو بند نہ ہو جائے اگر ماؤس پھر مینو کو چھوڑ دیتا ہے۔ + ملی سیکنڈ جب تک مینو بند نہ ہو جائے اگر ماؤس مینو کو چھوڑ دیتا ہے۔ مینو کی زیادہ سے زیادہ چوڑائی @@ -316,7 +316,7 @@ شبیہیں - سیاق و سباق کے مینو سے سیٹ کریں۔ + سیاق و سباق کے مینو کے مطابق سیٹ کریں۔ ڈائرکٹری کے طور پر سیٹ کریں۔ @@ -346,7 +346,7 @@ ماہر - اگر فوکس ختم ہو جائے اور Enter کلید دبائی گئی ہو۔ + اگر توجہ ختم ہو جائے اور Enter کلید دبائی گئی ہو۔ اگر مینو دوبارہ فعال نہیں ہوتا ہے تو مینو بند ہونے تک ملی سیکنڈ @@ -438,6 +438,9 @@ ڈائرکٹری کھولنے کے لیے سنگل کلک کریں۔ + + گیم پیڈ کو سپورٹ کریں۔ + پچھلے کے آگے diff --git a/Resources/Languages/lang.vi.resx b/Resources/Languages/lang.vi.resx index e138697e..b90e1450 100644 --- a/Resources/Languages/lang.vi.resx +++ b/Resources/Languages/lang.vi.resx @@ -328,7 +328,7 @@ Sự cố với liên kết lối tắt - Mục mà lối tắt này đề cập đến đã được thay đổi hoặc di chuyển, vì vậy lối tắt này sẽ không còn hoạt động bình thường. + Mục mà lối tắt này đề cập đến đã bị thay đổi hoặc di chuyển, vì vậy lối tắt này sẽ không còn hoạt động bình thường. Mở thư mục @@ -438,6 +438,9 @@ Một cú nhấp chuột để mở một thư mục + + Hỗ trợ Gamepad + Bên cạnh cái trước @@ -484,7 +487,7 @@ Trình đơn lọc theo loại tệp, ví dụ: * .exe | * .dll - Hiển thị số lượng các phần tử + Hiển thị số lượng phần tử Hiển thị tiêu đề thư mục ở trên cùng @@ -514,7 +517,7 @@ Thư mục các biểu tượng lối tắt trên Internet - Được sắp xếp theo loại và ngày tháng + Sắp xếp theo loại và ngày Sắp xếp theo loại và tên diff --git a/Resources/Languages/lang.yi.resx b/Resources/Languages/lang.yi.resx index b81328ff..62ef9223 100644 --- a/Resources/Languages/lang.yi.resx +++ b/Resources/Languages/lang.yi.resx @@ -438,6 +438,9 @@ איין גיט צו עפענען אַ וועגווייַזער + + שטיצן גאַמעפּאַד + נעבן דעם פריערדיקן @@ -448,7 +451,7 @@ אָוווערלאַפּינג - סוב מעניו איז ארויס + אונטער מעניו איז ארויס בילדל גרייס diff --git a/Resources/Languages/lang.zh-CN.resx b/Resources/Languages/lang.zh-CN.resx index 765a3a50..18a9eaad 100644 --- a/Resources/Languages/lang.zh-CN.resx +++ b/Resources/Languages/lang.zh-CN.resx @@ -325,7 +325,7 @@ 加载 - 快捷链接问题 + 快捷方式链接问题 此快捷方式所指的项目已更改或移动,因此此快捷方式将不再正常工作。 @@ -403,7 +403,7 @@ 鼠标位置(任务栏图标上方) - 自定义(拖到合适的位置) + 自定义(拖动到合适的位置) 元素 @@ -438,6 +438,9 @@ 单击以打开目录 + + 支持游戏手柄 + 在上一个旁边 diff --git a/Resources/Languages/lang.zh-TW.resx b/Resources/Languages/lang.zh-TW.resx index 8ad342c7..4c60dee2 100644 --- a/Resources/Languages/lang.zh-TW.resx +++ b/Resources/Languages/lang.zh-TW.resx @@ -438,6 +438,9 @@ 按一下以開啟目錄 + + 支持遊戲手柄 + 在上一個選單的旁邊 diff --git a/SystemTrayMenu.csproj b/SystemTrayMenu.csproj index 053130af..953d6620 100644 --- a/SystemTrayMenu.csproj +++ b/SystemTrayMenu.csproj @@ -184,16 +184,17 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/UserInterface/AppContextMenu.cs b/UserInterface/AppContextMenu.cs index 93356580..42650a57 100644 --- a/UserInterface/AppContextMenu.cs +++ b/UserInterface/AppContextMenu.cs @@ -97,11 +97,12 @@ private static void About() Sponsors - Thank you! ------------------ * Stefan Mahrer +* boydfields * RuSieg * Ralf K. * donaldaken * Marc Speer -* boydfields +* Peter G. * Traditional_Tap3954 * Maximilian H. "; diff --git a/UserInterface/HotkeyTextboxControl/HotkeyControl.cs b/UserInterface/HotkeyTextboxControl/HotkeyControl.cs index a4f3bb0f..500934d6 100644 --- a/UserInterface/HotkeyTextboxControl/HotkeyControl.cs +++ b/UserInterface/HotkeyTextboxControl/HotkeyControl.cs @@ -53,7 +53,6 @@ public HotkeyControl() PopulateModifierLists(); } - // Delegates for hooking up events. public delegate void HotKeyHandler(); private enum Modifiers diff --git a/UserInterface/LabelNoCopy.cs b/UserInterface/LabelNoCopy.cs index 526dbaf4..770a7014 100644 --- a/UserInterface/LabelNoCopy.cs +++ b/UserInterface/LabelNoCopy.cs @@ -26,10 +26,7 @@ public override string Text get => text; set { - if (value == null) - { - value = string.Empty; - } + value ??= string.Empty; if (text != value) { diff --git a/UserInterface/SettingsForm.Designer.cs b/UserInterface/SettingsForm.Designer.cs index 3db0ffee..d09d2275 100644 --- a/UserInterface/SettingsForm.Designer.cs +++ b/UserInterface/SettingsForm.Designer.cs @@ -342,6 +342,7 @@ private void InitializeComponent() this.buttonOk = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.colorDialog = new System.Windows.Forms.ColorDialog(); + this.checkBoxSupportGamepad = new System.Windows.Forms.CheckBox(); this.tableLayoutPanelMain.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabPageGeneral.SuspendLayout(); @@ -978,7 +979,7 @@ private void InitializeComponent() this.tabPageSizeAndLocation.Margin = new System.Windows.Forms.Padding(3, 3, 6, 3); this.tabPageSizeAndLocation.Name = "tabPageSizeAndLocation"; this.tabPageSizeAndLocation.Padding = new System.Windows.Forms.Padding(3); - this.tabPageSizeAndLocation.Size = new System.Drawing.Size(412, 493); + this.tabPageSizeAndLocation.Size = new System.Drawing.Size(412, 485); this.tabPageSizeAndLocation.TabIndex = 3; this.tabPageSizeAndLocation.Text = "tabPageSizeAndLocation"; this.tabPageSizeAndLocation.UseVisualStyleBackColor = true; @@ -1433,7 +1434,7 @@ private void InitializeComponent() this.tabPageAdvanced.Location = new System.Drawing.Point(4, 24); this.tabPageAdvanced.Name = "tabPageAdvanced"; this.tabPageAdvanced.Padding = new System.Windows.Forms.Padding(3); - this.tabPageAdvanced.Size = new System.Drawing.Size(412, 493); + this.tabPageAdvanced.Size = new System.Drawing.Size(412, 485); this.tabPageAdvanced.TabIndex = 0; this.tabPageAdvanced.Text = "tabPageAdvanced"; this.tabPageAdvanced.UseVisualStyleBackColor = true; @@ -1460,7 +1461,7 @@ private void InitializeComponent() this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelAdvanced.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(301, 567); + this.tableLayoutPanelAdvanced.Size = new System.Drawing.Size(301, 592); this.tableLayoutPanelAdvanced.TabIndex = 0; // // groupBoxInternetShortcutIcons @@ -1469,7 +1470,7 @@ private void InitializeComponent() this.groupBoxInternetShortcutIcons.AutoSize = true; this.groupBoxInternetShortcutIcons.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxInternetShortcutIcons.Controls.Add(this.tableLayoutPanelInternetShortcutIcons); - this.groupBoxInternetShortcutIcons.Location = new System.Drawing.Point(3, 209); + this.groupBoxInternetShortcutIcons.Location = new System.Drawing.Point(3, 234); this.groupBoxInternetShortcutIcons.Name = "groupBoxInternetShortcutIcons"; this.groupBoxInternetShortcutIcons.Padding = new System.Windows.Forms.Padding(3, 6, 3, 6); this.groupBoxInternetShortcutIcons.Size = new System.Drawing.Size(289, 81); @@ -1545,7 +1546,7 @@ private void InitializeComponent() this.groupBoxDrag.AutoSize = true; this.groupBoxDrag.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxDrag.Controls.Add(this.tableLayoutPanel1); - this.groupBoxDrag.Location = new System.Drawing.Point(3, 131); + this.groupBoxDrag.Location = new System.Drawing.Point(3, 156); this.groupBoxDrag.Name = "groupBoxDrag"; this.groupBoxDrag.Size = new System.Drawing.Size(289, 72); this.groupBoxDrag.TabIndex = 4; @@ -1599,7 +1600,7 @@ private void InitializeComponent() this.groupBoxClick.Controls.Add(this.tableLayoutPanelClick); this.groupBoxClick.Location = new System.Drawing.Point(3, 3); this.groupBoxClick.Name = "groupBoxClick"; - this.groupBoxClick.Size = new System.Drawing.Size(289, 122); + this.groupBoxClick.Size = new System.Drawing.Size(289, 147); this.groupBoxClick.TabIndex = 0; this.groupBoxClick.TabStop = false; this.groupBoxClick.Text = "groupBoxClick"; @@ -1610,6 +1611,7 @@ private void InitializeComponent() this.tableLayoutPanelClick.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanelClick.ColumnCount = 1; this.tableLayoutPanelClick.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanelClick.Controls.Add(this.checkBoxSupportGamepad, 0, 4); this.tableLayoutPanelClick.Controls.Add(this.checkBoxSendHotkeyInsteadKillOtherInstances, 0, 1); this.tableLayoutPanelClick.Controls.Add(this.checkBoxOpenDirectoryWithOneClick, 0, 3); this.tableLayoutPanelClick.Controls.Add(this.checkBoxOpenItemWithOneClick, 0, 2); @@ -1617,12 +1619,13 @@ private void InitializeComponent() this.tableLayoutPanelClick.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanelClick.Location = new System.Drawing.Point(3, 19); this.tableLayoutPanelClick.Name = "tableLayoutPanelClick"; - this.tableLayoutPanelClick.RowCount = 4; + this.tableLayoutPanelClick.RowCount = 5; this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanelClick.Size = new System.Drawing.Size(283, 100); + this.tableLayoutPanelClick.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanelClick.Size = new System.Drawing.Size(283, 125); this.tableLayoutPanelClick.TabIndex = 0; // // checkBoxSendHotkeyInsteadKillOtherInstances @@ -1674,7 +1677,7 @@ private void InitializeComponent() // this.buttonAdvancedDefault.AutoSize = true; this.buttonAdvancedDefault.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 533); + this.buttonAdvancedDefault.Location = new System.Drawing.Point(9, 558); this.buttonAdvancedDefault.Margin = new System.Windows.Forms.Padding(9, 9, 3, 9); this.buttonAdvancedDefault.MinimumSize = new System.Drawing.Size(75, 25); this.buttonAdvancedDefault.Name = "buttonAdvancedDefault"; @@ -1690,7 +1693,7 @@ private void InitializeComponent() this.groupBoxSorting.AutoSize = true; this.groupBoxSorting.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxSorting.Controls.Add(this.tableLayoutPanelSorting); - this.groupBoxSorting.Location = new System.Drawing.Point(3, 296); + this.groupBoxSorting.Location = new System.Drawing.Point(3, 321); this.groupBoxSorting.Name = "groupBoxSorting"; this.groupBoxSorting.Size = new System.Drawing.Size(289, 122); this.groupBoxSorting.TabIndex = 3; @@ -1768,7 +1771,7 @@ private void InitializeComponent() this.groupBoxHiddenFilesAndFolders.AutoSize = true; this.groupBoxHiddenFilesAndFolders.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.groupBoxHiddenFilesAndFolders.Controls.Add(this.tableLayoutPanelHiddenFilesAndFolders); - this.groupBoxHiddenFilesAndFolders.Location = new System.Drawing.Point(3, 424); + this.groupBoxHiddenFilesAndFolders.Location = new System.Drawing.Point(3, 449); this.groupBoxHiddenFilesAndFolders.Name = "groupBoxHiddenFilesAndFolders"; this.groupBoxHiddenFilesAndFolders.Size = new System.Drawing.Size(289, 97); this.groupBoxHiddenFilesAndFolders.TabIndex = 2; @@ -1836,7 +1839,7 @@ private void InitializeComponent() this.tabPageFolders.Location = new System.Drawing.Point(4, 24); this.tabPageFolders.Name = "tabPageFolders"; this.tabPageFolders.Padding = new System.Windows.Forms.Padding(3); - this.tabPageFolders.Size = new System.Drawing.Size(412, 493); + this.tabPageFolders.Size = new System.Drawing.Size(412, 485); this.tabPageFolders.TabIndex = 2; this.tabPageFolders.Text = "tabPageFolders"; this.tabPageFolders.UseVisualStyleBackColor = true; @@ -2064,7 +2067,7 @@ private void InitializeComponent() this.tabPageExpert.Location = new System.Drawing.Point(4, 24); this.tabPageExpert.Name = "tabPageExpert"; this.tabPageExpert.Padding = new System.Windows.Forms.Padding(3); - this.tabPageExpert.Size = new System.Drawing.Size(412, 493); + this.tabPageExpert.Size = new System.Drawing.Size(412, 485); this.tabPageExpert.TabIndex = 1; this.tabPageExpert.Text = "tabPageExpert"; this.tabPageExpert.UseVisualStyleBackColor = true; @@ -2431,7 +2434,7 @@ private void InitializeComponent() this.tabPageCustomize.Location = new System.Drawing.Point(4, 24); this.tabPageCustomize.Name = "tabPageCustomize"; this.tabPageCustomize.Padding = new System.Windows.Forms.Padding(3); - this.tabPageCustomize.Size = new System.Drawing.Size(412, 493); + this.tabPageCustomize.Size = new System.Drawing.Size(412, 485); this.tabPageCustomize.TabIndex = 0; this.tabPageCustomize.Text = "tabPageCustomize"; this.tabPageCustomize.UseVisualStyleBackColor = true; @@ -4841,6 +4844,17 @@ private void InitializeComponent() this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); // + // checkBoxSupportGamepad + // + this.checkBoxSupportGamepad.AutoSize = true; + this.checkBoxSupportGamepad.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxSupportGamepad.Location = new System.Drawing.Point(3, 103); + this.checkBoxSupportGamepad.Name = "checkBoxSupportGamepad"; + this.checkBoxSupportGamepad.Size = new System.Drawing.Size(277, 19); + this.checkBoxSupportGamepad.TabIndex = 4; + this.checkBoxSupportGamepad.Text = "checkBoxSupportGamepad"; + this.checkBoxSupportGamepad.UseVisualStyleBackColor = true; + // // SettingsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -5438,5 +5452,6 @@ private void InitializeComponent() private System.Windows.Forms.CheckBox checkBoxShowFunctionKeyPinMenu; private System.Windows.Forms.CheckBox checkBoxShowFunctionKeySettings; private System.Windows.Forms.CheckBox checkBoxShowFunctionKeyRestart; + private System.Windows.Forms.CheckBox checkBoxSupportGamepad; } } \ No newline at end of file diff --git a/UserInterface/SettingsForm.cs b/UserInterface/SettingsForm.cs index 4222eddc..44e59b35 100644 --- a/UserInterface/SettingsForm.cs +++ b/UserInterface/SettingsForm.cs @@ -45,8 +45,8 @@ void InitializeTextBoxHotkeyAndReplacetextBoxHotkeyPlaceholder() Name = "textBoxHotkey", Size = new Size(200, 20), Text = "None", + TabStop = false, }; - textBoxHotkey.TabStop = false; textBoxHotkey.Enter += new EventHandler(TextBoxHotkeyEnter); textBoxHotkey.Leave += new EventHandler(TextBoxHotkey_Leave); tableLayoutPanelHotkey.Controls.Remove(textBoxHotkeyPlaceholder); @@ -151,6 +151,7 @@ void Translate() checkBoxSendHotkeyInsteadKillOtherInstances.Text = Translator.GetText("Send hotkey to other instance"); checkBoxOpenItemWithOneClick.Text = Translator.GetText("Single click to open an element"); checkBoxOpenDirectoryWithOneClick.Text = Translator.GetText("Single click to open a directory"); + checkBoxSupportGamepad.Text = Translator.GetText("Support Gamepad"); groupBoxDrag.Text = Translator.GetText("Drag"); checkBoxDragDropItems.Text = Translator.GetText("Copy row element via drag and drop"); checkBoxSwipeScrolling.Text = Translator.GetText("Scroll via swipe"); @@ -355,10 +356,7 @@ void InitializeLanguage() comboBoxLanguage.ValueMember = "Value"; comboBoxLanguage.SelectedValue = Settings.Default.CurrentCultureInfoName; - if (comboBoxLanguage.SelectedValue == null) - { - comboBoxLanguage.SelectedValue = "en"; - } + comboBoxLanguage.SelectedValue ??= "en"; } numericUpDownSizeInPercent.Minimum = 100; @@ -454,6 +452,7 @@ void NumericUpDown_MouseWheel(object sender, MouseEventArgs e) checkBoxSendHotkeyInsteadKillOtherInstances.Checked = Settings.Default.SendHotkeyInsteadKillOtherInstances; checkBoxOpenItemWithOneClick.Checked = Settings.Default.OpenItemWithOneClick; checkBoxOpenDirectoryWithOneClick.Checked = Settings.Default.OpenDirectoryWithOneClick; + checkBoxSupportGamepad.Checked = Settings.Default.SupportGamepad; if (DllImports.NativeMethods.IsTouchEnabled()) { @@ -958,6 +957,7 @@ private void ButtonOk_Click(object sender, EventArgs e) Settings.Default.SendHotkeyInsteadKillOtherInstances = checkBoxSendHotkeyInsteadKillOtherInstances.Checked; Settings.Default.OpenItemWithOneClick = checkBoxOpenItemWithOneClick.Checked; Settings.Default.OpenDirectoryWithOneClick = checkBoxOpenDirectoryWithOneClick.Checked; + Settings.Default.SupportGamepad = checkBoxSupportGamepad.Checked; if (DllImports.NativeMethods.IsTouchEnabled()) { @@ -1274,6 +1274,7 @@ private void ButtonAdvancedDefault_Click(object sender, EventArgs e) checkBoxSendHotkeyInsteadKillOtherInstances.Checked = false; checkBoxOpenItemWithOneClick.Checked = true; checkBoxOpenDirectoryWithOneClick.Checked = false; + checkBoxSupportGamepad.Checked = false; if (DllImports.NativeMethods.IsTouchEnabled()) { checkBoxDragDropItems.Checked = false; diff --git a/Utilities/SingleAppInstance.cs b/Utilities/SingleAppInstance.cs index 356d1735..b8b43d25 100644 --- a/Utilities/SingleAppInstance.cs +++ b/Utilities/SingleAppInstance.cs @@ -11,7 +11,6 @@ namespace SystemTrayMenu.Utilities using System.Windows.Forms; using SystemTrayMenu.UserInterface.HotkeyTextboxControl; using WindowsInput; - using WindowsInput.Native; internal static class SingleAppInstance {