macsforme | blast007: you said there is a UUID, but multiple of the same connected joystick models will have the same UUID? | 01:16 |
---|---|---|
blast007 | yes, though it may vary depending on if a wireless controller is plugged in via USB | 01:17 |
blast007 | (a 0 changed to a 1 in some spot when I was connected via USB) | 01:18 |
blast007 | let me check what UUIDs show up for my controllers, since some of mine act like a Xbox controller | 01:19 |
blast007 | https://static.bzexcess.com/misc/sdl_joystick_guid.txt | 01:56 |
blast007 | so my two purely wired ones show up as the same GUID. I don't have batteries for my actual Xbox controller to see what that would show. | 01:56 |
blast007 | Nor for my Steam controllers. | 01:57 |
*** Cobra_Fast is now away: vacant | 02:05 | |
*** Cobra_Fast is back | 02:05 | |
blast007 | and yes, both my PS4 controllers show the same GUID, as does my Stadia controllers | 02:59 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 246 seconds) | 03:46 | |
*** Krunch_ <Krunch_!~Krunch@xvm-9-71.dc0.ghst.net> has joined #bzflag | 06:07 | |
*** cods_ <cods_!~fred@82-65-232-44.subs.proxad.net> has joined #bzflag | 06:07 | |
*** dngor_ <dngor_!abuse@104-136-128-209.biz.spectrum.com> has joined #bzflag | 06:07 | |
*** Krunch <Krunch!~Krunch@xvm-9-71.dc0.ghst.net> has quit IRC (*.net *.split) | 06:12 | |
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has quit IRC (*.net *.split) | 06:12 | |
*** dngor <dngor!abuse@104-136-128-209.biz.spectrum.com> has quit IRC (*.net *.split) | 06:12 | |
macsforme | blast007: it seems there is no particularly elegant solution... I suppose I would rather disregard the index and try to find the previous joystick by name or GUID (probably prefer GUID)... I'm not sure whether the scenario where multiple of the same joysticks are connected warrants additional logic for that, but it does raise some questions | 07:04 |
macsforme | we could potentially store a string with the joystick GUID + name, and try to find a joystick matching both identifiers on the next launch... but in any case, the menu and the platform library should probably work the same way (the menu should probably trust what it was given) | 07:17 |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 07:18 | |
*** FastLizard4 is back | 08:31 | |
*** FastLizard4 is now away: AWAY from keyboard | 09:45 | |
blast007 | for now I'll just fix the menu to use the same matching logic then | 09:51 |
*** macsforme <macsforme!~macsforme@rahab.fairserve.net> has quit IRC (*.net *.split) | 09:52 | |
*** allejo <allejo!~allejo@user/allejo> has quit IRC (*.net *.split) | 09:52 | |
*** FastLizard4 <FastLizard4!fastlizard@wikipedia/FastLizard4> has quit IRC (*.net *.split) | 09:52 | |
*** catay <catay!~smertens@user/catay> has quit IRC (*.net *.split) | 09:52 | |
*** macsforme <macsforme!~macsforme@rahab.fairserve.net> has joined #bzflag | 10:04 | |
*** allejo <allejo!~allejo@user/allejo> has joined #bzflag | 10:04 | |
*** FastLizard4 <FastLizard4!fastlizard@wikipedia/FastLizard4> has joined #bzflag | 10:04 | |
*** FastLizard4 is now away: AWAY from keyboard | 10:04 | |
*** catay <catay!~smertens@user/catay> has joined #bzflag | 10:04 | |
*** tantalum.libera.chat sets mode: +vv macsforme allejo | 10:04 | |
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life) | 10:07 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 10:50 | |
blast007 | I was also planning to enable the corner stretch by default since I think every controller I've tried so far has a circular range | 11:11 |
BZNotify | bzflag: blast007 synchronized pull request #255 "Improved joystick support" by macsforme (2.4.28 - https://github.com/BZFlag-Dev/bzflag/pull/255) | 11:29 |
blast007 | We're basically ready to merge that. I do still want to test more on Windows and mac, but I don't forsee any reason there would be an issue there. | 11:37 |
macsforme | I still need to check the math on the ramps and corner stretch... looking at the video again recently, I'm not sure it was quite right | 14:14 |
blast007 | I used a game console emulator recently that had a default max range of 95% and a default deadzone of 15%. I'm not sure if they had a specific reason for that. But it made me question if we should allow the deadzone to go higher. So, maybe the max range would go from 50 to 100, and the deadzone from 0 to 40? | 15:16 |
*** Krunch_ is now known as Krunch | 19:08 | |
*** Krunch is now known as adk | 19:08 | |
*** adk is now known as Krunch | 19:09 | |
macsforme | my thought was to have a low floor for max range for when people want an especially twitchy sensitivity (as we've seen with mouse), but if the dead zone range needs expansion then those numbers seem reasonable... we could also do something other than hard-coded boundaries, such as ensuring a specific buffer between the two values | 19:58 |
*** Juest <Juest!~Juest@user/Juest> has joined #bzflag | 22:55 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 23:23 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!