<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So you're trying to solve the problem of giving braille device access to more<br>
Orca commands for a single braille device?</blockquote><div><br></div><div>Yes, I'm working on a new braille device. <br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> May I suggest a different approach that'd be more useful to everyone? What<br>
about defining more brltty commands, i.e. BRL_CMD_... <br></blockquote><div><br></div><div>So, why not just enable brltty to accept more than one nonModifier key? In your approach, We need to modify both brltty and Orca, and every time Orca adds a command (maybe) we must add a BRL_CMD_... .<br></div><div>But if it would be possible to handle more than one nonModifier key, We can use Orca commands just by defining some key table bindings.<br><br></div><div>Another problem that I've encountered is that xbrlapi doesn't send modifiers to applications. For example, Orca ignores any speech output by pressing Control key. I've mapped one key to CONTROL<br> and in my braille driver I enqueue press and release events, but it seems that Orca doesn't receive these events from xbrlapi. <br></div><div>Is it possible to catch these events using brlApi?<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 28, 2018 at 1:19 PM, Dave Mielke <span dir="ltr"><<a href="mailto:Dave@mielke.cc" target="_blank">Dave@mielke.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[quoted lines by payman shaykhmehdi on 2018/05/28 at 12:32 +0430]<br>
<span class=""><br>
>Is it possible to bind a combination of braille keys to a combination of<br>
>keyboard keys?<br>
<br>
</span>Yes, and no. What's possible is combining any single key that isn't defined as<br>
a modifier with any number of keys that are defined as modifiers (shift,<br>
control, alt, etc).<br>
<span class=""><br>
>I've tried the following bind but it doesn't work :<br>
><br>
>bind ScreenReader+Dot2+Dot3+Dot4 KEY_INSERT+PASSCHAR+s<br>
<br>
</span>The insert key isn't defined as a modifier. It could be, of course, but it<br>
isn't right now. If it were, then the correct syntax would be:<br>
<br>
bind ScreenReader+Dot2+Dot3+Dot4 PASSCHAR+s+insert<br>
<span class=""><br>
>I need a lot of these type of bindings for Orca commands, but it seems that<br>
>it isn't possible?<br>
<br>
</span>So you're trying to solve the problem of giving braille device access to more<br>
Orca commands for a single braille device? I'm assuming this because no braille<br>
device that I'm aware of has a key named ScreenReader.<br>
<br>
May I suggest a different approach that'd be more useful to everyone? What<br>
about defining more brltty commands, i.e. BRL_CMD_... - one for each useful<br>
Orca command. Then, say, bind Dots78 + various intuitive combinations of dots 1<br>
through 6 to those new commands. Then change Orca to recognize those new<br>
commands and translate them to its own equivalents. If this were done, then,<br>
almost by magic (your effort, of course), lots of braille users would<br>
immediately gain a lot more functionality when using Orca.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
I believe the Bible to be the very Word of God: <a href="http://Mielke.cc/bible/" rel="noreferrer" target="_blank">http://Mielke.cc/bible/</a><br>
Dave Mielke | 2213 Fox Crescent | WebHome: <a href="http://Mielke.cc/" rel="noreferrer" target="_blank">http://Mielke.cc/</a><br>
EMail: Dave@Mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke<br>
Phone: +1 613 726 0014 | Canada K2A 1H7 |<br>
______________________________<wbr>_________________<br>
This message was sent via the BRLTTY mailing list.<br>
To post a message, send an e-mail to: BRLTTY@brltty.app<br>
For general information, go to: <a href="http://brltty.app/mailman/listinfo/brltty" rel="noreferrer" target="_blank">http://brltty.app/mailman/<wbr>listinfo/brltty</a><br>
</font></span></blockquote></div><br></div>