The usb keyboard dongle works correctly for the actionmap, but the ascii codes are not recognized, the problem is that GetPrevAsciiCode returns on any ascii key the value 71 not the correct ascii code.
So every time GetPrevAsciiCode is called, the result for each key does not change, it always returns the value 71.