I've just got a Raspberry Pi 1 B. I installed Raspbian, I've worked with it for full day and everything was working as it should be. I used to booted into the desktop, now I have changed that to boot into the CLI.
After booting it auto-login, I can't write anything, when I click the right arrow I go to tty2 to the login screen and if I type a I get
^[a or if I type ghk I get
^[g^[h^[k. The keyboard was working just fine in the Desktop Environment (DE) and in the terminal but I don't know what's the issue now.
By the way my keyboard is a wireless keyboard, but I don't think this is the issue here.
I have tested the keyboard on a Toshiba laptop running Ubuntu and it works and i checked on another Lenovo laptop running Manjaro Linux and it also works fine. So the problem is not with the keyboard it self
I checked the locales to see if something was wrong, it was set to en_GB UTF-8 and i changed it to en_US UTF-8, the issue remains the same.
I have just formatted the SD card and now installing Archlinux-ARM to try my luck with another OS.
After installing Archlinux-ARM, everything is working as it should, the keyboard is perfectly fine, so the problem was with the OS it self. I will never know what the issue was nor try to find out, but I will leave this post for other people, if was decided that the post OS useless please feel free to take down.
Thank you for thinking or trying to help everyone, and good luck!