Hi,

I am using usb HID keypad ( mini keypad)
If i enable numlock i am able to scan digits 0 to 9,
but how can i detect key scan codes of pageup/page down/ left arrow right arrow /end/home/
when i am tying these keys its displayinh like this

home key: ^[[1~
uparrow : ^[[A
left arrow : ^[[D
right arrow : ^[[C

end key: ^[[4~
del key: ^[[3~
insert key: ^[[2~

how to read ascii values of these keys in C language

Thanks in advance

john