-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can now minimize window, and horizontal peak suppressor while blinking is implemented
- Loading branch information
Showing
28 changed files
with
196 additions
and
76 deletions.
There are no files selected for viewing
Binary file added
BIN
+4.18 KB
.vs/DJeyeMouseWrapper/FileContentIndex/860244a7-dd5e-41ef-b578-901bbf24b9cd.vsidx
Binary file not shown.
Binary file added
BIN
+3.85 KB
.vs/DJeyeMouseWrapper/FileContentIndex/87adb016-228b-47b5-85e3-0127a55b4936.vsidx
Binary file not shown.
Binary file added
BIN
+267 KB
.vs/DJeyeMouseWrapper/FileContentIndex/92280633-9f6d-49f9-be3a-185f68a00bac.vsidx
Binary file not shown.
Binary file added
BIN
+4.14 KB
.vs/DJeyeMouseWrapper/FileContentIndex/95649582-689b-4708-9ffc-3ab4b141cdb3.vsidx
Binary file not shown.
Empty file.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\setups\defaultsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\kbshortcuts.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\modules\rack.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\modules\mappingmodule.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\modules\renderingmodule.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\settings\defaultsettings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\bbmouseclicks.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeye_Wrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\settings\djeyewrappersettings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string></ArrayOfstring> | ||
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\setups\defaultsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\kbshorcutsalt.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:1:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\kbshortcuts.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|C:\Users\neequ\OneDrive\Documenti\GitHub\DJEye_EyeLayer_Windows\behaviors\bbsuppresshorizontalpeak.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:1:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\modules\mappingmodule.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\modules\mappingmodule.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\bbsuppresshorizontalpeak.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\kbshortcuts.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\bbmouseclicks.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string><string>D:0:0:{32B8450B-A336-467D-B4A0-C22AF3BF79A1}|DJeyeMouseWrapper.csproj|c:\users\neequ\onedrive\documenti\github\djeye_eyelayer_windows\behaviors\ebsuppresshorizontalpeak.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}</string></ArrayOfstring> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using DJeyeMouseWrapper.Modules; | ||
using NeeqDMIs.Eyetracking.Tobii; | ||
using System; | ||
|
||
namespace DJeyeMouseWrapper.Behaviors | ||
{ | ||
internal class BBsuppressHorizontalPeak : ATobiiBlinkBehavior | ||
{ | ||
public BBsuppressHorizontalPeak() | ||
{ | ||
DCThresh = 1; | ||
LCThresh = 1; | ||
RCThresh = 1; | ||
DOThresh = 2; | ||
LOThresh = 2; | ||
ROThresh = 2; | ||
} | ||
|
||
public override void Event_doubleClose() | ||
{ | ||
Rack.MappingModule.SuppressGaze = true; | ||
} | ||
|
||
public override void Event_doubleOpen() | ||
{ | ||
Rack.MappingModule.SuppressGaze = false; | ||
} | ||
|
||
public override void Event_leftClose() | ||
{ | ||
Rack.MappingModule.SuppressGaze = true; | ||
} | ||
|
||
public override void Event_leftOpen() | ||
{ | ||
Rack.MappingModule.SuppressGaze = false; | ||
} | ||
|
||
public override void Event_rightClose() | ||
{ | ||
Rack.MappingModule.SuppressGaze = true; | ||
} | ||
|
||
public override void Event_rightOpen() | ||
{ | ||
Rack.MappingModule.SuppressGaze = false; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using DJeyeMouseWrapper.Modules; | ||
using NeeqDMIs.Keyboard; | ||
using RawInputProcessor; | ||
|
||
namespace BlankADMI.Behaviors | ||
{ | ||
internal class KBshortcutsAlt : IKeyboardBehavior | ||
{ | ||
const VKeyCodes keyEnable = VKeyCodes.E; | ||
const VKeyCodes keyDisable = VKeyCodes.D; | ||
const VKeyCodes keyAlt = VKeyCodes.LeftMenu; | ||
|
||
private bool isModPressed = false; | ||
public int ReceiveEvent(RawInputEventArgs e) | ||
{ | ||
// ALT MOD | ||
if (e.VirtualKey == (int)keyAlt) | ||
{ | ||
if(e.KeyPressState == KeyPressState.Down) | ||
{ | ||
isModPressed = true; | ||
} | ||
else if(e.KeyPressState == KeyPressState.Up) | ||
{ | ||
isModPressed = false; | ||
} | ||
} | ||
|
||
// ENABLE, DISABLE | ||
if(e.VirtualKey == (int)keyEnable && e.KeyPressState == KeyPressState.Down && isModPressed) | ||
{ | ||
Rack.MappingModule.Enabled = true; | ||
} | ||
if (e.VirtualKey == (int)keyDisable && e.KeyPressState == KeyPressState.Down && isModPressed) | ||
{ | ||
Rack.MappingModule.Enabled = false; | ||
} | ||
return 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
55232715d42ae51013b61fc16526309ced493473 | ||
7fed4626f3b01e1f0c9f0c88a9a48e0a3c82c419 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.