add some extra logging
This commit is contained in:
parent
340e08232e
commit
0a20f315d5
|
@ -26,14 +26,20 @@ static void *input_thread(void *arg)
|
||||||
for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1)
|
for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1)
|
||||||
{
|
{
|
||||||
if (tmp & mask)
|
if (tmp & mask)
|
||||||
|
{
|
||||||
|
Log(LDEBUG, "posting WM_HWBUTTONUP(%d)", (int)attr);
|
||||||
MqPost1(Sys_Queue, 0, WM_HWBUTTONUP, attr);
|
MqPost1(Sys_Queue, 0, WM_HWBUTTONUP, attr);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
tmp = st & ~last_bstate;
|
tmp = st & ~last_bstate;
|
||||||
for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1)
|
for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1)
|
||||||
{
|
{
|
||||||
if (tmp & mask)
|
if (tmp & mask)
|
||||||
|
{
|
||||||
|
Log(LDEBUG, "posting WM_HWBUTTONDOWN(%d)", (int)attr);
|
||||||
MqPost1(Sys_Queue, 0, WM_HWBUTTONDOWN, attr);
|
MqPost1(Sys_Queue, 0, WM_HWBUTTONDOWN, attr);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
last_bstate = st;
|
last_bstate = st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user