All keyboard + mouse keys are listed in the Keys module. For seeing if for example the key G is pressed, do:
if Input.press?(Keys::G)
[...]
end
how do i add keys?
Well, I don't understand what "add keys" exactly means. If you want, for example to make some action to be called by a key trigger, it depends on the action you want to call.
how do i activate keys?
Pressing the keys in the keyboard? Or what do you mean?
how do i use this other than put it in...lol
If you don't know scripting this may be a bit difficult to implement, but it shouldn't be really complicated. Also, using this script for something depends totaly in what you want to do. For example, if you want to make the player to run when pressing the F key, you had add to the method update from Game_Player for example:
if Input.press?(Keys::F)
@move_speed = 5
else
@move_speed = 4
end
If you want to make for example a Monster book scene when pressing the key M, you had to add to somewhere in Scene_Map:
if Input.trigger?(Keys::M)
$scene = Scene_MonsterBook.new
end
So it totaly depesn on what do you want to do. If you explain me a bit what do you want, I will try to help you.