Changeset c709eb0 in mainline


Ignore:
Timestamp:
2011-04-22T16:36:34Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30f9f8f
Parents:
bbdf09e
Message:

Tunning of virtual USB keyboard

The autorepeat has some nice effects now ;-).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/virtusbkbd/virtusbkbd.c

    rbbdf09e rc709eb0  
    5656
    5757/** Pause between individual key-presses in seconds. */
    58 #define KEY_PRESS_DELAY 2
     58#define KEY_PRESS_DELAY 1
    5959#define NAME "virt-usb-kbd"
    6060
     
    269269        }
    270270       
     271        printf("%s: Will wait for a while to allow HID driver settle in.\n", NAME);
     272        fibril_sleep(15);
    271273        printf("%s: Simulating keyboard events...\n", NAME);
    272         fibril_sleep(10);
     274        fibril_sleep(5);
    273275        //while (1) {
    274276                kb_process_events(&status, keyboard_events, keyboard_events_count,
Note: See TracChangeset for help on using the changeset viewer.