I have run the code below but I don't understand the result.
Python code:
f = open('/dev/input/event4', 'r')
while True:
print f.read(8)
and the result is very weird:
>>> 5Q�
>>>
>>> 5Q
>>>
>>> 5Q
When I press a key, it adds an incomprehensible code. Thank you for help!