Wednesday, 4 September 2013

Modifying Keyboard input to console output - Minix 3.1.0

Modifying Keyboard input to console output - Minix 3.1.0

I am struggling quite a bit to edit a driver within minix 3.1.0 so that if
I press a certain key, it will output something completely different in
console.
eg. If I typed in the console: ! it would be outputted as something like:
12345
If I used the echo function within the console and typed something like:
echo @ it would be outputted as: echo 12345
12345
A solution and an explanation as to how it works would be appreciated!
Notes: I have tried editing the tty_echo function and that only changed it
in the login menu and I have also tried editing the keymap but it would
give me an error saying the input value was too long(Meaning I was only
allowed 1 character not multiple)

No comments:

Post a Comment