diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
commit | f28da1a35a6403b153f93f66e3d96e485f89c363 (patch) | |
tree | 760d0c286a65042e18e2165ff555be0d40e80558 /firmware/drivers/button.c | |
parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) | |
download | rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip |
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r-- | firmware/drivers/button.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 715d4d3025..7b5fd26f3b 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "lcd-remote.h" | 37 | #include "lcd-remote.h" |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #ifndef SIMULATOR | ||
40 | #if 0 | 41 | #if 0 |
41 | /* Older than MAX_EVENT_AGE button events are going to be ignored. | 42 | /* Older than MAX_EVENT_AGE button events are going to be ignored. |
42 | * Used to prevent for example volume going up uncontrollable when events | 43 | * Used to prevent for example volume going up uncontrollable when events |
@@ -482,6 +483,8 @@ void button_clear_queue(void) | |||
482 | queue_clear(&button_queue); | 483 | queue_clear(&button_queue); |
483 | } | 484 | } |
484 | 485 | ||
486 | #endif /* SIMULATOR */ | ||
487 | |||
485 | #ifdef HAVE_SCROLLWHEEL | 488 | #ifdef HAVE_SCROLLWHEEL |
486 | /** | 489 | /** |
487 | * data: | 490 | * data: |