arrow keys in tool plugin

On 22/01/2014 at 08:17, xxxxxxxx wrote:

hey

i try to use the arrow keys in a tool plugin but don`t get them

  
def KeyboardInput(self, doc, data, bd, win, msg) :
        key = msg.GetLong(c4d.BFM_INPUT_CHANNEL)
        cstr = msg.GetString(c4d.BFM_INPUT_ASC)
        print key 
  

thanks