Hello again... :)

I find this:

-- -----------------------------------------------------------------------
-- ush_keyboard_send_key - send a key code (blocking!)
-- -----------------------------------------------------------------------

-- ush_keyboard_send_key() sends a key code toward the USB HID host
-- the call is blocking and assumes that the HID communcation channel
-- has been established. See also definitions for key codes (starting
-- with USB_KEYBOARD_KEY_xxxx) and for the modifier key definitions
-- starting with USB_KEYBOARD_MKEY_. *Note that once a key code has been
-- send, the HID host assumes that the key remains pressed, until a
-- USB_KEYBOARD_KEY_NONE (or other key) is send towards the HID host*
-- -----------------------------------------------------------------------


The problem (for my project) is "*until .....(or other key) is send towards
the HID host*". I need send one keycode (up arrow key), then other keycode
(left arrow key), and then send the relase keycodes for both keys. But the
library send the release keycode for the first pressed key when i send the
keycode for the second presed key (¿Anybody understand me? :P )

Is possible change this ush_keyboard_send_key behavior?


TIA
Ariel.

--------------------------------------------------------------------------------------------------------------------------
Ariel Palazzesi
*Web* <http://www.ucontrol.com.ar%20> y
*Foro*<http://www.ucontrol.com.ar/forosmf/index.php>

*“Si cualquier habilidad que aprende un niño será obsoleta antes de que la
use, entonces, ¿qué es lo que tiene que aprender? La respuesta es obvia: La
única habilidad competitiva a largo plazo es la habilidad para aprender*“.
Seymour Papert



2011/1/21 Ariel Palazzesi <[email protected]>

> Hello!
>
> I have one question:
>
> The ush_keyboard_send_key function only send the "press key code", or send
> both "press key" and "release key" codes?
>
> Thanks in advance!
>
>
> --------------------------------------------------------------------------------------------------------------------------
> Ariel Palazzesi
> *Web* <http://www.ucontrol.com.ar%20> y 
> *Foro*<http://www.ucontrol.com.ar/forosmf/index.php>
>
> *“Si cualquier habilidad que aprende un niño será obsoleta antes de que la
> use, entonces, ¿qué es lo que tiene que aprender? La respuesta es obvia:
> La única habilidad competitiva a largo plazo es la habilidad para aprender
> *“. Seymour Papert
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to