Implemented pointer event
Fixed typecast in Input.SetLogPriority