diff options
author | cbransden | 2016-05-09 10:39:45 +0100 |
---|---|---|
committer | cbransden | 2016-05-13 18:29:27 +0100 |
commit | ace14ab3172ad90809a3cc5e8fe67d5cac9e294b (patch) | |
tree | 881e4a806d2745bb90b8caeba3918e4e155c1b06 /maemo/hildon.c | |
parent | 61c4962abc49e430aabea5e565d93436a57cfa0a (diff) | |
download | pcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.tar.gz pcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.tar.bz2 pcsx_rearmed-ace14ab3172ad90809a3cc5e8fe67d5cac9e294b.zip |
Added multitap core option & style nits
Diffstat (limited to 'maemo/hildon.c')
-rw-r--r-- | maemo/hildon.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/maemo/hildon.c b/maemo/hildon.c index 9b6f787..6fbdcf5 100644 --- a/maemo/hildon.c +++ b/maemo/hildon.c @@ -484,31 +484,31 @@ inline void key_press_event(int key2,int type) switch (psxkey1){ case DKEY_CROSS: in_state_gun |= SACTION_GUN_A; - break; + break; case DKEY_CIRCLE: in_state_gun |= SACTION_GUN_B; - break; + break; case DKEY_TRIANGLE: in_state_gun |= SACTION_GUN_TRIGGER2; - break; + break; case DKEY_SQUARE: in_state_gun |= SACTION_GUN_TRIGGER; - break; + break; } }else if (type == 2) { switch (psxkey1){ case DKEY_CROSS: in_state_gun &= ~SACTION_GUN_A; - break; + break; case DKEY_CIRCLE: in_state_gun &= ~SACTION_GUN_B; - break; + break; case DKEY_TRIANGLE: in_state_gun &= ~SACTION_GUN_TRIGGER2; - break; + break; case DKEY_SQUARE: in_state_gun &= ~SACTION_GUN_TRIGGER; - break; + break; } } }else{ @@ -599,7 +599,7 @@ int maemo_init(int *argc, char ***argv) } fclose(pFile); } - + switch (in_type1){ case PSE_PAD_TYPE_GUNCON: memset(cornerActions, 0, sizeof(cornerActions)); @@ -610,7 +610,7 @@ int maemo_init(int *argc, char ***argv) break; case PSE_PAD_TYPE_ANALOGPAD: printf("Controller set to analog (SCPH-1150)\n"); - break; + break; } if (in_enable_vibration) @@ -664,7 +664,7 @@ int maemo_init(int *argc, char ***argv) if (bKeepDisplayOn){ if (pthread_create(&display_thread, NULL, displayThread, NULL)) - printf("Failed to create display thread.\n"); + printf("Failed to create display thread.\n"); } pl_rearmed_cbs.only_16bpp = 1; |