Skip to content

Commit afad237

Browse files
committed
updated comments.
1 parent 736e73f commit afad237

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

XMapLib/KeyboardTranslator.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ namespace sds
3535
KeyboardTranslator& operator=(const KeyboardTranslator& other) = delete;
3636
KeyboardTranslator& operator=(KeyboardTranslator&& other) = delete;
3737
~KeyboardTranslator() = default;
38-
38+
/// <summary>
39+
/// Process an XINPUT_KEYSTROKE structure.
40+
/// </summary>
3941
void ProcessKeystroke(const XINPUT_KEYSTROKE &stroke)
4042
{
4143
//Key update loop
@@ -124,6 +126,7 @@ namespace sds
124126
/// Check to see if a different axis of the same thumbstick has been pressed already
125127
/// </summary>
126128
/// <param name="detail">Newest element being set to keydown state</param>
129+
/// <param name="outOvertaken">KeyboardKeyMap set to the keymap being overtaken by the detail</param>
127130
/// <returns>true if is overtaking a thumbstick direction already depressed</returns>
128131
bool IsOvertaking(const KeyboardKeyMap &detail, KeyboardKeyMap &outOvertaken)
129132
{

0 commit comments

Comments
 (0)