yujsg
Joined: 20 Jun 2007 Posts: 15
|
Posted: Tue Sep 04, 2007 10:49 pm Post subject: keyboard |
|
|
Dear all,
I am trying to write a subroutine in Clearwin FTN95, which can return the same two-byte keycode (scan code + ASCII code) as "GET_EXTENDED_CHAR@" in FTN77 for DOS. I am trying to use "ADD_KEYBOARD_MONITOR@" with call-back functions containing CLEARWIN_INFO@('KEYBOARD_KEY'). But it returns either a scan code (if high byte is 1) or an ASCII code (if high byte is 0). Is there a way that I could get both key codes at the same time? Then I can combine them together.
For the routine "FEED_WKEYBOARD@(KEY,ERROR)", it takes only the ASCII code for the key to be inserted. But for function keys, their ASCII codes are 0, how can we feed them into the keyboard buffer? Thanks. |
|