[BRLTTY] Xbrlapi

Dave Mielke dave at mielke.cc
Mon Dec 11 22:30:45 EST 2006


[quoted lines by Samuel Thibault on 2006/12/11 at 23:57 +0100]

>> In addition, for each of the commands, do I express them using the
>> KEY_CMD_* constants, such as KEY_CMD_HOME,
>
>Yes.
>
>> which is defined to be (KEY_TYPE_CMD | 29)?
>
>Mmm, no, it's defined to
>KEY_SYM_HOME = (KEY_TYPE_SYM | 0x0000ff50)
>(again, in the brlapi module).

You're both right. KEY_SYM_HOME is for the HOME key on the keyboard whereas
KEY_CMD_HOME is to bring the braille display to the cursor.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list