Commit Graph

618 Commits

Author SHA1 Message Date
Terry MacDonald
0eb05639f6 WIP] Adding audio volume to shortcut form 2020-12-04 21:53:15 +13:00
Terry MacDonald
c5cb6e52f1 Removing old code 2020-12-04 21:05:06 +13:00
terrymacdonald
65f1c03422
Create FUNDING.yml 2020-12-04 12:28:18 +13:00
terrymacdonald
1fbd399404
Update README.md 2020-12-03 23:18:33 +13:00
terrymacdonald
d963e84825
Create LICENSE 2020-12-03 23:14:46 +13:00
terrymacdonald
301b87cc49
Delete LICENSE.md 2020-12-03 23:14:05 +13:00
Terry MacDonald
a596c0b252 Added Audio switching and reverting logic
Audio device now correctly switches and reverts.
Very happy how easy that was to do. This is an
amazing audio library!
2020-12-03 23:10:25 +13:00
Terry MacDonald
1ef91be002 Updated README screenshots 2020-12-03 22:32:45 +13:00
Terry MacDonald
8ddea18929 Updated README 2020-12-03 22:31:17 +13:00
Terry MacDonald
2a03f5064d Updated README 2020-12-03 22:30:11 +13:00
Terry MacDonald
98ce76293e Updated README screenshots 2020-12-03 22:28:39 +13:00
Terry MacDonald
cd93986530 Added audioPermanence to choose audio separately
Separated permanence to display and audio separately
so you can choose exactly what reverts.
2020-12-03 22:25:28 +13:00
Terry MacDonald
eb93e84e22 Added audiodevice logic to save it
Added the ability to store the audio device
information within the ShortcutItem, and also
added the logic to the ShortcutForm to correctly
load and save the audio device settings. Also
coped with the edge case of when an audio device
is turned off or unplugged when the user edits the
shortcut... in that case we want to still keep the
old audio device settings as it is likely to be plugged
back in when the shortcut is actually run.
2020-12-03 21:45:24 +13:00
Terry MacDonald
e44c2d045b Disabled rescan audio button by default 2020-12-02 22:49:50 +13:00
Terry MacDonald
b95f7b7a47 Tweaked the rescan audio button appearance 2020-12-02 22:47:39 +13:00
Terry MacDonald
1714cf3a9f [WIP] populated dropdown with audio devices
Part of the work through getting audio devices
into DisplayMagician, as it now scans the devices
and automatically selects the one in use currently.
You can also press the 'rescan' button to have it
update the list. This is the UI part done.

Next step is the saving the chosen audio device
to the saved Shortcut!
2020-12-02 22:44:02 +13:00
Terry MacDonald
6743061962 Fixed missing HeliosPLus renames 2020-12-02 22:06:50 +13:00
Terry MacDonald
c05078dd9a Fixed inadvertent SteamLibrary duplication
Accidentally was adding uplay games to the
steam library. Used AddRange to combine
the game libraries together so it works.
2020-12-02 21:53:11 +13:00
Terry MacDonald
c1980b9296 Update LICENCE to GPL v3
Also rename HeliosPlus to DisplayMagician
in the README file.
2020-12-02 21:18:49 +13:00
Terry MacDonald
415ff0eed0 Rename HeliosPlus to DisplayMagician
Decided to rename the application to DisplayMagician
to make it way more discoverable. Turns out there are
a LOT of applications named HeliosPlus!
2020-12-02 21:11:23 +13:00
Terry MacDonald
e80fe0f1bb Added new audio tab to ShortcutForm
Next step is to add some controls that get
populated by the library I'm using:
AudioSwitcher.AudioApi.CoreAudio
2020-12-01 23:00:16 +13:00
Terry MacDonald
beea0b825c Missed another LogReporter reference 2020-12-01 22:42:09 +13:00
Terry MacDonald
9a2a8453b2 Fix for late dir rename 2020-12-01 22:41:02 +13:00
Terry MacDonald
1903956b85 Fixed LogReporter
Fixed LogReporter error introduced by my earlier
modifications of HeliosPlus due to ProfileItem
object changes. This messed up the LogReporter
writing logic which in turn made log files balloon
to multiple GB in size! Also added capture of the
various JSON files that are used to store settings
so that we can help fix JSON errors.
2020-12-01 22:34:25 +13:00
Terry MacDonald
eb38e88dc5 [WIP] Renaming HeliosPlus.Reporter 2020-11-30 22:39:04 +13:00
Terry MacDonald
5cc2ce65fa Added Shell Extension to setup package
Managed to get the Shell Extension incorporated
into the HeliosPlus.Setup project so that it correctly
installs the shell extension (and uninstalls it too!).

Also updated the README.md so that it shows the
new Shell Extensino in action so people knows what
it does.
2020-11-30 22:25:58 +13:00
Terry MacDonald
fe852a6248 [WIP] Attempting to register Shell Extension
Trying to register the shell extension using the
built in COM registration function.
2020-11-29 15:31:06 +13:00
Terry MacDonald
b9d7a12ff1 [WIP] included InstallDir registry key
Added the InstallDir Regsitry key so that
the application works ok.
2020-11-29 15:23:37 +13:00
Terry MacDonald
4fabb275ca Upgraded ValveKeyValue slightly 2020-11-28 23:16:58 +13:00
Terry MacDonald
959a1a6dda Added Tooltips to shortcuts and profiles
Added a tooltip to the shortcuts list, and
the profiles list, so that the user just needs
to hover over the items and the full name
of the item will be displayed. Needed to do
this as some of the shortcut names get really
long! This fixes that conundrum.
2020-11-28 23:02:24 +13:00
Terry MacDonald
5e544628e9 Remove unused imagelist 2020-11-28 22:01:23 +13:00
Terry MacDonald
19a8ccfe5a Fixed problem with icons after rename
There was an issue where changing a profile broke
the link between the shortcuts and the shortcut icon
file. This meant that the runshortcut would be pointing
to an icon file that didn't exist. This has been fixed.
2020-11-28 17:55:34 +13:00
Terry MacDonald
c05a2a0f0b Added IsActive check to ChangeProfile
ChangeProfile was always trying to apply the
profile even if it was already on it. So changed
that so it only does it when it's needed.
2020-11-22 21:45:04 +13:00
Terry MacDonald
34eab029d1 ChangeProfile contextmenu runs HeliosPlus
The CHangeProfile contextmenu didn't create
a process properly. Now it does :).
2020-11-22 21:40:10 +13:00
Terry MacDonald
c52950c9b5 Fixed ChangeProfile command line
ChangeProfile command wasn't working, but
now that you can use the Desktop Background
context menu to change profiles I needed to
fix this so that the menu runs this command.
2020-11-22 21:27:29 +13:00
Terry MacDonald
63df55fa79 Merge branch 'feature-shell-extension' of https://github.com/terrymacdonald/HeliosPlus into feature-shell-extension 2020-11-22 20:57:09 +13:00
Terry MacDonald
25cf0265fd First working ShellContextMenu extension
Can now apply saved display profiles by
right-clicking on the Desktop Background and
selecting the display profile that you want to
use. It will run <HeliosPlus> ChangeProfile <uuid>
where <HeliosPlus> is the HeliosPlus binary and
<uuid> is the UUID of the relevant display profile.
2020-11-22 20:53:30 +13:00
Terry MacDonald
38fa982c91 First working ShellXontextMenu extension
Can now apply saved display profiles by
right-clicking on the Desktop Background and
selecting the display profile that you want to
use. It will run <HeliosPlus> ChangeProfile <uuid>
where <HeliosPlus> is the HeliosPlus binary and
<uuid> is the UUID of the relevant display profile.
2020-11-22 20:49:37 +13:00
Terry MacDonald
7ab732b11c [WIP] Fixing HP ShellExtension 2020-11-22 09:52:32 +13:00
Terry MacDonald
dce0ed8252 Fixed application process monitoring
Stopped the application threat monitoring halting
the UI completely, which fixed some UI updating
issues. Now UI thread continues to poll waiting for
appl/game to exit, but does it in a loop rather than
blocking using WaitForExit(). Means that the
notification icon gets updated and the UI gets a
MaskedForm over it.
2020-11-22 09:26:17 +13:00
Terry MacDonald
ccefa80642 Added overlay to inform user UI is locked
This informs the user that the user UI is locked
until they close the game/application that is
started.
2020-11-21 14:48:32 +13:00
Terry MacDonald
e9a821e594 [WIP] Working notifyIcon during run
notifyIcon works if run from Shortcutlibrary,
or from clicked shortcut. Next step is to make
the main window show some sort of indication
that the UI is locked until the game exits....
2020-11-19 22:40:08 +13:00
Terry MacDonald
699d7ec209 Added a Setup project
Added a Visual Studio Installer Project setup project.
2020-11-16 21:23:05 +13:00
Terry MacDonald
73284c03f8 Fixed open application window menu
The Open Application Window notification icon
popup menu item wouldn't restore the window
if it was minimised before running the Open
Application Window command. Added some cool
code from https://stackoverflow.com/questions/
354445/restore-windowstate-from-minimized and
then tweaked it to work in this situation. I could have
added this a much better place in the application but
I am planning on rewriting the app in WPF
eventually so I don't really need to do so.
2020-11-15 21:28:15 +13:00
Terry MacDonald
a56e68d94e Added Uplay to RunShortcut
HeliosPlus now runs Uplay Games and
correctly waits until they have exited before
changing back. It won't wait for Uplay updates
however, as I really don't know how Uplay
marks things as being updated. So I don't
know how to look for the updates occurring!
2020-11-15 21:06:38 +13:00
Terry MacDonald
c7444e379c Fixed Uplay configuration file processing
Accidentally broke the Uplay configuration
file processing but now fixed it again.
2020-11-15 20:28:55 +13:00
Terry MacDonald
401e76c6e4 Can create Uplay shortcuts now
Added support to read Uplay games and
to load them into the interface. Also added
the ability to save the Uplay shortcuts.
Now need to test and then add the ability
to run Uplay Games!
2020-11-14 18:00:57 +13:00
Terry MacDonald
e7af4ac252 Reads Uplay game info correctly
Added the functionality to read the Uplay library
correctly, but at present nothing is done with that
information. Next step is to add it to the Shortcut
Game selector logic.
2020-11-14 17:42:53 +13:00
Terry MacDonald
b1e49aad11 [WIP] Partial development of uplay support
Have reverse engineered the uplay launcher a
little bit, and managed to extract some of the
useful file structures to be able to parse the
useful bits of teh uplay game library. Need to
properly extract the games info from it though.
2020-11-10 22:26:02 +13:00
Terry MacDonald
dd85aeb0f1 Fixed notification icon menu
Also fixed console messages as well. The programme
is just about working properly! I'm going to start
creating branches now as it is nearly at ready for a
v1.0!
2020-11-04 18:47:41 +13:00