chromebook doesn't use android. not sure what modifying b4a's core lib gets you, but i'd say if chromebook is running android in a vm to allow android apps to work, it's probably using going with how android might handle a hardware keypad, however that might be. in any case, android uses a different set of keycodes for edittext input than b4a's core key codes.