From f7bd7252e14a151217f1a9b7eee6200eb23586a8 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Mon, 5 Oct 2009 17:17:30 +0000 Subject: Invert buttons in RTL mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22961 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/button.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/export/button.h') diff --git a/firmware/export/button.h b/firmware/export/button.h index 3aac1af9d6..2e75c573df 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -42,7 +42,10 @@ int button_status_wdata(int *pdata); #endif void button_clear_queue(void); #ifdef HAVE_LCD_BITMAP -void button_set_flip(bool flip); /* turn 180 degrees */ +void button_set_flip_vertically(bool flip); /* turn 180 degrees */ +#ifndef BOOTLOADER +int button_flip_horizontally(int button); /* for RTL mode */ +#endif #endif #ifdef HAVE_BACKLIGHT void set_backlight_filter_keypress(bool value); -- cgit v1.2.3