Added initialization in constructor for struct jport
This commit is contained in:
parent
606aaea675
commit
f848b6801a
1 changed files with 10 additions and 13 deletions
|
@ -79,16 +79,16 @@ struct inputdevconfig {
|
|||
TCHAR shortid[16];
|
||||
};
|
||||
struct jport {
|
||||
int id;
|
||||
int mode; // 0=def,1=mouse,2=joy,3=anajoy,4=lightpen
|
||||
int autofire;
|
||||
int mousemap;
|
||||
struct inputdevconfig idc;
|
||||
bool nokeyboardoverride;
|
||||
struct joypad_map_layout amiberry_custom_none;
|
||||
struct joypad_map_layout amiberry_custom_hotkey;
|
||||
struct joypad_map_layout amiberry_custom_left_trigger;
|
||||
struct joypad_map_layout amiberry_custom_right_trigger;
|
||||
int id{};
|
||||
int mode{}; // 0=def,1=mouse,2=joy,3=anajoy,4=lightpen
|
||||
int autofire{};
|
||||
int mousemap{};
|
||||
struct inputdevconfig idc {};
|
||||
bool nokeyboardoverride{};
|
||||
struct joypad_map_layout amiberry_custom_none;
|
||||
struct joypad_map_layout amiberry_custom_hotkey;
|
||||
struct joypad_map_layout amiberry_custom_left_trigger;
|
||||
struct joypad_map_layout amiberry_custom_right_trigger;
|
||||
};
|
||||
|
||||
#define JPORT_UNPLUGGED -2
|
||||
|
@ -573,9 +573,6 @@ extern struct uae_prefs currprefs, changed_prefs;
|
|||
extern int machdep_init (void);
|
||||
extern void machdep_free (void);
|
||||
|
||||
|
||||
|
||||
|
||||
struct amiberry_customised_layout {
|
||||
|
||||
// create structures for each 'function' button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue