Commit graph

856 commits

Author SHA1 Message Date
Peter Kirmeier
944958b6fd Corrected mixed up HatSwitch values for up/down and left/right on non-Sony gamepads 2023-05-04 00:40:51 +02:00
Peter Kirmeier
9fdb708322 Refactored iRowKey to use a row's instance instead 2023-05-04 00:34:23 +02:00
Peter Kirmeier
88971e685c Give ListViewItemData ToString method for easier debugging 2023-05-04 00:33:28 +02:00
Peter Kirmeier
485ef01ad0 Refactored iMenuKey to use a menu's dependencies to parent or sub menu 2023-05-03 23:18:03 +02:00
Peter Kirmeier
14430d9d05 Use different HatSwitch values for different gamepad vendors
Fix detection of pressed and instantly released buttons
2023-05-03 23:02:31 +02:00
Peter Kirmeier
b93e1fb345 Minor refactoring and add gamepad button 1 as additional enter button 2023-05-03 00:34:30 +02:00
Peter Kirmeier
ab0758788c Give menu ToString method for easier debugging 2023-05-02 22:05:08 +02:00
Peter Kirmeier
a7af9f610f Fix and improve menu activation 2023-05-02 22:04:32 +02:00
Peter Kirmeier
bbdab80355 Fix index issue when selecting first "left" sub menu via key. 2023-05-01 23:46:28 +02:00
Peter Kirmeier
cb80948bb2 Replace HIDDevices v3.0.1 with HidSharp v2.1.0
This removes a bunch of NuGet dependencies.
Fix UWP/UAP dependency issue by removing unsupported dependency.
2023-05-01 23:37:07 +02:00
Peter Kirmeier
c7f4f44250 Replace SharpDX.DirectInput v4.2.0 with HIDDevices v3.0.1
This supports newer .Net version.
Also supports more gamepads like PS5 controller.
2023-05-01 16:24:33 +02:00
Peter Kirmeier
3153032110 Refine loading of colors 2023-04-30 23:36:26 +02:00
Peter Kirmeier
ea8ed05c85 Replaced System.Drawing.Color with System.Windows.Media.SolidColorBrush 2023-04-30 22:42:25 +02:00
Peter Kirmeier
026ab9a982 Replace Hardcodet.NotifyIcon.Wpf v1.1.0 with H.NotifyIcon v2.0.108
The former is no longer maintained and the new project is base on the former one.
The new one should also be usable for other platforms.
2023-04-30 21:10:55 +02:00
Peter Kirmeier
6ffddc7e02 Fix menu activation when opened from notify icon 2023-04-30 00:06:00 +02:00
Peter Kirmeier
55fccd17d5 Initial use of colors for list items and buttons 2023-04-29 22:42:28 +02:00
Peter Kirmeier
14db7ef845 Use data bindings to update delayed icons 2023-04-29 19:51:44 +02:00
Peter Kirmeier
aa87100095 Reduce code complexity and refined member variables
Improve null pointer assumptions by relying on nullable value types
2023-04-29 18:57:39 +02:00
Peter Kirmeier
5d04cc0abd Modified message box text when exceptions occur 2023-04-29 18:52:52 +02:00
Peter Kirmeier
ab9b0ea0b0 Housekeeping, refine IconReader and fix ShellContextMenu 2023-04-28 18:48:39 +02:00
Peter Kirmeier
175c93e511 Simplified use of MainMenu and updating menus' item lists 2023-04-27 23:24:25 +02:00
Peter Kirmeier
b735ad4b46 Simplified MenuData and speedup sub menu closing 2023-04-27 22:19:02 +02:00
Peter Kirmeier
2e1cc20593 Remove RowData dependency from FolderOptions 2023-04-27 21:11:20 +02:00
Peter Kirmeier
46bd18eb7e Removed DgvMouseRow helper class 2023-04-27 20:27:16 +02:00
Peter Kirmeier
959f0af976 Fix missing mouse capture when window is moved but mouse points outside of window 2023-04-27 19:48:17 +02:00
Peter Kirmeier
3f09f40188 Simplified working with ListViewItems by passing instance instead of index 2023-04-25 00:24:48 +02:00
Peter Kirmeier
6ebfed5f78 Simplified some mouse and open events 2023-04-24 22:38:36 +02:00
Peter Kirmeier
40871c7e96 Fix and improve fading and transparency 2023-04-23 23:53:20 +02:00
Peter Kirmeier
874f583a3a Refactor size and position logic
Fix issue that mouse location was inaccurate
2023-04-23 22:36:15 +02:00
Peter Kirmeier
55c01e44b8 Refactor size and position logic
Fix issue that custom location was always detected being out of bounds
2023-04-22 21:04:34 +02:00
Peter Kirmeier
3464e3e4b9 Reduce event dependencies during startup (preloading)
Remove obsolete code
2023-04-20 00:50:29 +02:00
Peter Kirmeier
74d5be3890 Fix missing lazy icon loading for sub menus 2023-04-17 00:04:59 +02:00
Peter Kirmeier
6993aef3ac Fix lots of nullable warnings 2023-04-16 23:27:27 +02:00
Peter Kirmeier
1d29fea766 Fix compiler warnings about nullables
Remove obsolete support of .Net framework 2.0
2023-04-16 20:45:21 +02:00
Peter Kirmeier
c9ce4d1d21 Improve window size and position calculations
Fix several warnings
2023-04-16 20:17:24 +02:00
Peter Kirmeier
b12d4ad656 Fix potential multiple opening of same sub menu 2023-04-16 17:39:32 +02:00
Peter Kirmeier
61e10bea00 Simplified menu initialization based on directory state 2023-04-16 15:45:47 +02:00
Peter Kirmeier
0158499a2c Simplified directory and file discovery
Corrected namespace naming of Helpers
2023-04-16 14:17:33 +02:00
Peter Kirmeier
3c7a7a2aaf Reuse a loading sub menu for showing completed sub menu
Further simplification of sub menu creation
2023-04-16 12:42:42 +02:00
Peter Kirmeier
3698d7e891 Simplified post processing of Menu creation 2023-04-15 22:47:29 +02:00
Peter Kirmeier
176e9f896d Fix data access of UI thread's data while file system watcher is executing 2023-04-15 22:19:16 +02:00
Peter Kirmeier
562a799a46 Simplified Menu construction 2023-04-15 21:23:28 +02:00
Peter Kirmeier
5a5bdb2410 Fix initial config creation when no config exists yet 2023-04-15 19:33:57 +02:00
Peter Kirmeier
77bc221455 Update to .NetAnalyzer version 7.0.1 (from 6.0.0) 2023-04-15 18:53:12 +02:00
Peter Kirmeier
1959b522bd Update README.md
(cherry picked from commit 4cf4b980ea)
2023-04-15 18:51:54 +02:00
Peter Kirmeier
ae270343b9 [Feature] Add search bar right click 'Paste' (#466)
(cherry picked from commit 1f9a2483f4)
2023-04-15 18:48:53 +02:00
TGi
7726ac3efa Update lang.zh-TW.resx (#471)
Update language file zh-TW
Co-authored-by: TGi <yrctw@csie.io>

(cherry picked from commit 12b0a99e76)
2023-04-15 17:49:30 +02:00
Peter Kirmeier
135850c9fc Fix a bunch of nullable warnings 2022-12-05 21:46:53 +01:00
Peter Kirmeier
9a33a15e83 Reenable simplified waitLeave to fade out on leaving 2022-12-05 20:06:40 +01:00
Peter Kirmeier
11bac5dd1e Fix some nullables 2022-12-05 01:27:57 +01:00