Remove unused MENU_INPUT_CTL_SCROLL_UP/SCROLL_DOWN

This commit is contained in:
twinaphex 2016-02-26 21:07:32 +01:00
parent fe60a7d813
commit 678ec1b662
2 changed files with 0 additions and 16 deletions

View File

@ -89,8 +89,6 @@ typedef struct menu_input_mouse
{
bool hwheelup;
bool hwheeldown;
bool scrollup;
bool scrolldown;
unsigned ptr;
uint64_t state;
} menu_input_mouse_t;
@ -702,18 +700,6 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
menu_input->keyboard.buffer =
input_keyboard_start_line(menu, menu_input_search_cb);
break;
case MENU_INPUT_CTL_MOUSE_SCROLL_DOWN:
{
bool *ptr = (bool*)data;
*ptr = menu_input->mouse.scrolldown;
}
break;
case MENU_INPUT_CTL_MOUSE_SCROLL_UP:
{
bool *ptr = (bool*)data;
*ptr = menu_input->mouse.scrollup;
}
break;
case MENU_INPUT_CTL_MOUSE_PTR:
{
unsigned *ptr = (unsigned*)data;

View File

@ -67,8 +67,6 @@ enum menu_input_mouse_state
enum menu_input_ctl_state
{
MENU_INPUT_CTL_NONE = 0,
MENU_INPUT_CTL_MOUSE_SCROLL_DOWN,
MENU_INPUT_CTL_MOUSE_SCROLL_UP,
MENU_INPUT_CTL_MOUSE_PTR,
MENU_INPUT_CTL_POINTER_PTR,
MENU_INPUT_CTL_POINTER_ACCEL_READ,