powerbot/RSBot-API — pull request #646 by Roflgod (2013-02-19 16:48:46+00:00)
Title: Differentiation for keyboard action keys vs characters

Added differentiation for things like '(' vs VK_DOWN which are both 40 if only looking at them as a character. However, '(' has a value of 40 as a char, while VK_DOWN has a value of 40 for the key code. Therefore, pressKey(final int code) would be used for action keys, and pressKey(final char ch) used for characters. Other classes that type cast to character such as the Camera class would need to have the type casts removed and pass only the key code as a parameter. Thanks Timer, pretty please. At this point, the characters from 36-40 cannot be typed.