mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
button-target.h : move prototypes to button.h
no need to define BUTTON_REMOTE anymore git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31620 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
63ead774d5
commit
95cf63b294
68 changed files with 27 additions and 502 deletions
|
|
@ -21,14 +21,8 @@
|
|||
#ifndef _BUTTON_TARGET_H_
|
||||
#define _BUTTON_TARGET_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "config.h"
|
||||
|
||||
#define HAS_BUTTON_HOLD
|
||||
|
||||
bool button_hold(void);
|
||||
void button_init_device(void);
|
||||
int button_read_device(void);
|
||||
void touchpad_set_sensitivity(int level);
|
||||
|
||||
/* Toshiba Gigabeat specific button codes */
|
||||
|
|
|
|||
|
|
@ -21,13 +21,6 @@
|
|||
#ifndef _BUTTON_TARGET_H_
|
||||
#define _BUTTON_TARGET_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "config.h"
|
||||
|
||||
|
||||
bool button_hold(void);
|
||||
void button_init_device(void);
|
||||
int button_read_device(int*);
|
||||
void touchpad_set_sensitivity(int level);
|
||||
|
||||
/* Mini2440 specific button codes */
|
||||
|
|
@ -76,8 +69,6 @@ void touchpad_set_sensitivity(int level);
|
|||
BUTTON_UP |BUTTON_DOWN|BUTTON_SELECT | \
|
||||
BUTTON_A |BUTTON_POWER )
|
||||
|
||||
#define BUTTON_REMOTE 0
|
||||
|
||||
#define POWEROFF_BUTTON BUTTON_MENU
|
||||
#define POWEROFF_COUNT 10
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue