12 January 2023, 13:57 | #21 | ||
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Quote:
I still can't seem to get it to output the full logging information to winuaebootlog.txt. I have no idea what I'm doing wrong. Instead I launched via the command line passing the -log parameter, went through the process of loading the config manually and checking the gameports and input panels then exiting. I then copied the contents of the console window and pasted in into a text file. I've attached that, along with the usual, seemingly incomplete winuaebootlog.txt to this post. I hope it helps! Quote:
Sorry for the wall of text! Last edited by A500+; 12 January 2023 at 14:07. |
||
12 January 2023, 18:06 | #22 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
winuaebootlog-console.txt DOES have "missing" messages and it also logs "fixup" message where the mapping is corrected to match new device indexes.
Does the controller also work correctly when "parse_custom_post" and following line has "-> ..." line? EDIT: better use -log command line parameter when testing because it forces everything in console window. winuaebootlog.txt to winuaelog.txt transition might hide them without enabling full logging. Code:
0 0: 0 -> 1 (NO MATCH) (HIDI2C Device) 0 0: 1 -> 0 (Wireless Controller) Second line means "Wireless Controller" is found but now has different slot (1) and was moved to slot 0 (because "non-existing" devices are always moved to end of list, if it has space) EDIT2: Except for some reason following lines use original joystick ID again.. Last edited by Toni Wilen; 12 January 2023 at 18:24. |
12 January 2023, 18:49 | #23 | |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Quote:
I know I said I wasn't going to confuse the issue by posting the results of my new test, but it might offer some more insight perhaps as although it still doesn't work it now exhibits slightly different behaviour. So I set everything up and mapped the controls on the desktop this time (the previously non working machine), synced the files to the laptop and tested the config with the same controller on that machine. The controller still doesn't work but this time if any button on the controller is pressed in-game then the mapped keyboard controls stop working! They work fine before a button on the controller is pressed. That doesn't happen the other way around - with the other config(s) the keyboard controls carry on working across both machines even if buttons are pressed on the non working controller. For clarity, and in case this has anything to do with it, in both cases I map keyboard controls and DS4 controls to Custom 1 in the game ports panel, as I like to have the option of using both/either. I can post the log and config from the new test if you like? |
|
12 January 2023, 19:04 | #24 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
winuae.7z updated. Now fixup is done in a more logical position which is also earlier. Should also appear in the log earlier now.
|
12 January 2023, 19:26 | #25 |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
That seems to have fixed it. I'm literally on my way out the door now so I only had chance to do a quick test with one controller on one game but it looks promising. I'll do some more extensive testing first chance I get tomorrow and let you know how it goes.
Nice work man |
13 January 2023, 07:53 | #26 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Great. Test also saving config in another PC (use different config file name) and copy it back to other PC and check if it also works.
Hotplug does not yet work correctly (if config is already loaded when configured device is inserted). It will be fixed later today. |
13 January 2023, 13:13 | #27 |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Okay I've done some extensive testing and everything seems to be working beautifully. The configs mapped on the laptop now work with either/both controllers on the desktop and vice-versa. I tested with several games and several different configs.
As suggested I created a new config on the desktop and mapped new controls using one of the controllers and after syncing back to the laptop both controllers work fine using that config. Looks like it's fixed. Sterling work sir! Thank you. The only thing to note - and I assume this is actually the expected/correct behaviour - is that with a 2 player config using the controller that was originally mapped to player 2 is still mapped to player two even if it is the only controller plugged in. Before (on the "working" machine) it would switch to player 1 if it was the only pad and would only be assigned to player 2 when both pads were connected simultaneously. Like I say though I'm assuming that was to do with the bug and the new behaviour is actually the correct/expected behaviour? It's not a problem either way as I managed to solve it by mapping both controllers to each port - when either one is plugged in it defaults to player 1 but when both are plugged in they are assigned player 1 and player 2 respectively, thus replicating the "old" behaviour, if that makes sense? I'll happily test the hotplug fix for you when it's done too if you like. Thanks again for your continuing efforts to improve WinUAE - they are much appreciated. Looking forward to the next release |
13 January 2023, 14:36 | #28 | |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Quote:
|
|
13 January 2023, 20:54 | #29 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
Or did you mean selected custom #x entry was mapped to connected pad even if it was supposed to be mapped to other custom #x entry (in other joystick port)? Quote:
btw, winuae.7z updated, now also hotplugging should work correctly. |
||
14 January 2023, 16:18 | #30 | |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Quote:
I didn't think so either but thought I'd ask in case I was missing something. Like I said it's not a problem - I just need to remember to carry the player one controller around with me. If not it's no great hardship to change the custom slots around anyway. I was just being lazy Great. I'm away with work at the moment until Wednesday but I have my laptop and both pads with me so I'll get to testing later tonight if I can. I'll let you know if it works. I'll also test on the desktop once I'm back home on Wednesday too. |
|
18 January 2023, 12:27 | #31 |
Amigas: A500+ A600 A1200
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
|
Apologies for the delay in reporting back - sometimes real life gets in the way of the fun stuff
I can confirm hotplugging works like a charm on both machines. I tested several different games and didn't find any situations where it failed. It even works on a two player config, so long as the controller originally used to map player 1 is used first (using the "player 2" controller first still starts a two player game even if it is the sole controller present). Thanks for your efforts to fix these issues. Looks like your hard work has paid off. I'll continue testing and let you know if I encounter any unexpected behaviour but so far everything looks good |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OneXPlayer controller config | LaFarad | support.FS-UAE | 3 | 26 July 2022 13:15 |
Suggestion: Controller config at launch | Cabirus | support.FS-UAE | 0 | 19 January 2020 17:54 |
CD32 Controller Config | mccorkled | support.WinUAE | 4 | 31 October 2019 18:30 |
FS-UAE Custom Controller Config - Mac OS X Help!!! | nexusle | support.FS-UAE | 2 | 03 April 2012 21:56 |
|
|