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,12 +79,12 @@ struct inputdevconfig {
|
||||||
TCHAR shortid[16];
|
TCHAR shortid[16];
|
||||||
};
|
};
|
||||||
struct jport {
|
struct jport {
|
||||||
int id;
|
int id{};
|
||||||
int mode; // 0=def,1=mouse,2=joy,3=anajoy,4=lightpen
|
int mode{}; // 0=def,1=mouse,2=joy,3=anajoy,4=lightpen
|
||||||
int autofire;
|
int autofire{};
|
||||||
int mousemap;
|
int mousemap{};
|
||||||
struct inputdevconfig idc;
|
struct inputdevconfig idc {};
|
||||||
bool nokeyboardoverride;
|
bool nokeyboardoverride{};
|
||||||
struct joypad_map_layout amiberry_custom_none;
|
struct joypad_map_layout amiberry_custom_none;
|
||||||
struct joypad_map_layout amiberry_custom_hotkey;
|
struct joypad_map_layout amiberry_custom_hotkey;
|
||||||
struct joypad_map_layout amiberry_custom_left_trigger;
|
struct joypad_map_layout amiberry_custom_left_trigger;
|
||||||
|
@ -573,9 +573,6 @@ extern struct uae_prefs currprefs, changed_prefs;
|
||||||
extern int machdep_init (void);
|
extern int machdep_init (void);
|
||||||
extern void machdep_free (void);
|
extern void machdep_free (void);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct amiberry_customised_layout {
|
struct amiberry_customised_layout {
|
||||||
|
|
||||||
// create structures for each 'function' button
|
// create structures for each 'function' button
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue