Added windows input hook