RetroArch
cocoa_input.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2011-2017 - Daniel De Matteis
3  * Copyright (C) 2013-2014 - Jason Fetters
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef __COCOA_INPUT_H__
18 #define __COCOA_INPUT_H__
19 
20 #include <stdint.h>
21 #include <boolean.h>
22 
23 /* Input responder */
24 #define MAX_TOUCHES 16
25 
26 typedef struct
27 {
28  int16_t screen_x, screen_y;
29  int16_t fixed_x, fixed_y;
30  int16_t full_x, full_y;
32 
33 typedef struct
34 {
35  bool blocked;
38 
50 
54 
56 
58 
60 
61 #endif
int16_t mouse_rel_y
Definition: cocoa_input.h:45
int32_t cocoa_input_find_any_button(uint32_t port)
Definition: cocoa_input.c:70
bool blocked
Definition: cocoa_input.h:35
int32_t cocoa_input_find_any_axis(uint32_t port)
Definition: cocoa_input.c:112
includes all by default used to find thumbnails Please choose a single playlist first Add Entry Add Folder Select Files< multiple > Please fill out all required fields RetroArch updated successfully Please restart the application for the changes to take effect Contributors Move Down Load Remove Add Pass No shader passes Reset All Passes Download thumbnail Start on Download All Thumbnails This Playlist Configured in port
Definition: msg_hash_us.h:7699
int16_t window_pos_y
Definition: cocoa_input.h:43
int16_t full_y
Definition: cocoa_input.h:30
int16_t mouse_wd
Definition: cocoa_input.h:47
int16_t fixed_y
Definition: cocoa_input.h:29
int16_t mouse_rel_x
Definition: cocoa_input.h:44
int16_t screen_y
Definition: cocoa_input.h:28
int16_t mouse_x_last
Definition: cocoa_input.h:40
#define MAX_TOUCHES
Definition: cocoa_input.h:24
signed short int16_t
Definition: stdint.h:122
int16_t mouse_wr
Definition: cocoa_input.h:49
int16_t mouse_wu
Definition: cocoa_input.h:46
uint32_t mouse_buttons
Definition: cocoa_input.h:39
const input_device_driver_t * joypad
Definition: cocoa_input.h:52
const input_device_driver_t * sec_joypad
Definition: cocoa_input.h:51
Definition: cocoa_input.h:26
signed int int32_t
Definition: stdint.h:123
int16_t mouse_wl
Definition: cocoa_input.h:48
Definition: input_driver.h:170
int16_t window_pos_x
Definition: cocoa_input.h:42
int16_t mouse_y_last
Definition: cocoa_input.h:41
Definition: cocoa_input.h:33
int32_t cocoa_input_find_any_key(void)
Definition: cocoa_input.c:42
unsigned int uint32_t
Definition: stdint.h:126
uint32_t touch_count
Definition: cocoa_input.h:37