mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Remove xdk_joypad_get_buttons
This commit is contained in:
parent
0550b22a35
commit
03a745e5b4
@ -81,16 +81,6 @@ static bool xdk_joypad_button(unsigned port_num, uint16_t joykey)
|
||||
return pad_state[port_num] & (UINT64_C(1) << joykey);
|
||||
}
|
||||
|
||||
static void xdk_joypad_get_buttons(unsigned port_num, retro_bits_t *state)
|
||||
{
|
||||
if (port_num < MAX_PADS)
|
||||
{
|
||||
BITS_COPY16_PTR( state, pad_state[port_num] );
|
||||
}
|
||||
else
|
||||
BIT256_CLEAR_ALL_PTR(state);
|
||||
}
|
||||
|
||||
static int16_t xdk_joypad_axis(unsigned port_num, uint32_t joyaxis)
|
||||
{
|
||||
int val = 0;
|
||||
@ -295,7 +285,7 @@ input_device_driver_t xdk_joypad = {
|
||||
xdk_joypad_query_pad,
|
||||
xdk_joypad_destroy,
|
||||
xdk_joypad_button,
|
||||
xdk_joypad_get_buttons,
|
||||
NULL,
|
||||
xdk_joypad_axis,
|
||||
xdk_joypad_poll,
|
||||
NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user