1
Zaurus - pdaXrom / Ir Keyboard Drivers - Alpha Release
« on: November 22, 2005, 04:21:30 am »
Hi zaurus_usa, Kopsis,
I had the same problem as (1) mentioned by zaurus_usa, and looked at the code.
It seems last_keyup wasn't cleared and it was filtering keyup signal when the same key was *actually* repeated. I changed
/usr/share/zkbdd/drivers/pocketop.lua as follows (from line 146):
from:
---
Katsu
I had the same problem as (1) mentioned by zaurus_usa, and looked at the code.
It seems last_keyup wasn't cleared and it was filtering keyup signal when the same key was *actually* repeated. I changed
/usr/share/zkbdd/drivers/pocketop.lua as follows (from line 146):
from:
Code: [Select]
-- filter final keyup signal
if key_down == 0 then
if key == last_keyup then
last_keyup = 0
return 0, key_down
end
last_keyup = key;
end
to: Code: [Select]
-- filter final keyup signal
if key_down == 0 then
if key == last_keyup then
last_keyup = 0
return 0, key_down
end
last_keyup = key;
elseif key == last_keyup
last_keyup = 0;
end
and now it seems to be working correctly.---
Katsu