Skip to content

Commit

Permalink
Tidy up INPUT declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
taviso committed Dec 27, 2016
1 parent 477cacc commit 39bd1ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hotcorner.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ static const RECT kHotCorner = {

// Input to inject when corner activated (Win+Tab by default).
static const INPUT kCornerInput[] = {
{ INPUT_KEYBOARD, .ki = { VK_LWIN }},
{ INPUT_KEYBOARD, .ki = { VK_TAB }},
{ INPUT_KEYBOARD, .ki = { VK_TAB, KEYEVENTF_KEYUP }},
{ INPUT_KEYBOARD, .ki = { VK_LWIN, KEYEVENTF_KEYUP }},
{ INPUT_KEYBOARD, .ki = { VK_LWIN, .dwFlags = 0 }},
{ INPUT_KEYBOARD, .ki = { VK_TAB, .dwFlags = 0 }},
{ INPUT_KEYBOARD, .ki = { VK_TAB, .dwFlags = KEYEVENTF_KEYUP }},
{ INPUT_KEYBOARD, .ki = { VK_LWIN, .dwFlags = KEYEVENTF_KEYUP }},
};

// How long cursor has to linger in the kHotCorner RECT to trigger input.
Expand Down

0 comments on commit 39bd1ce

Please sign in to comment.