Skip to content

Commit

Permalink
Fixes to Full Interaction
Browse files Browse the repository at this point in the history
- Changes Full Interaction from suing SendNotifyMessage to SendInput.
- Changes from BringWindowToTop to SetForegroundWindow,
SetForegroundWindow is a lot more reliable.
- Combined, these changes fix clicking with Explorer, Unity, Task
Manager (requires Admin), and MS Paint :D No Click+Drag yet however.
  • Loading branch information
Hotrian committed Aug 10, 2016
1 parent c64a71c commit 7bedeba
Show file tree
Hide file tree
Showing 17 changed files with 981 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Assets/HOTK/Portal/DesktopPortalController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ private void AimAtApplication(HOTK_Overlay o, HOTK_TrackedDevice tracker, HOTK_O
_didHitOverlay = true;
if (SelectedWindowSettings.interactionMode == MouseInteractionMode.DirectInteraction ||
SelectedWindowSettings.interactionMode == MouseInteractionMode.WindowTop)
Win32Stuff.BringWindowToTop(_selectedWindow);
Win32Stuff.SetForegroundWindow(_selectedWindow);

if (SelectedWindowSettings.interactionMode == MouseInteractionMode.DirectInteraction)
{
Expand Down

0 comments on commit 7bedeba

Please sign in to comment.