IRC logs of Libera.Chat #BZFlag for Tuesday, 2023-08-08

macsformeblast007: you said there is a UUID, but multiple of the same connected joystick models will have the same UUID?01:16
blast007yes, though it may vary depending on if a wireless controller is plugged in via USB01:17
blast007(a 0 changed to a 1 in some spot when I was connected via USB)01:18
blast007let me check what UUIDs show up for my controllers, since some of mine act like a Xbox controller01:19
blast007https://static.bzexcess.com/misc/sdl_joystick_guid.txt01:56
blast007so 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
blast007Nor for my Steam controllers.01:57
*** Cobra_Fast is now away: vacant02:05
*** Cobra_Fast is back02:05
blast007and yes, both my PS4 controllers show the same GUID, as does my Stadia controllers02: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 #bzflag06:07
*** cods_ <cods_!~fred@82-65-232-44.subs.proxad.net> has joined #bzflag06:07
*** dngor_ <dngor_!abuse@104-136-128-209.biz.spectrum.com> has joined #bzflag06: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
macsformeblast007: 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 questions07:04
macsformewe 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 back08:31
*** FastLizard4 is now away: AWAY from keyboard09:45
blast007for now I'll just fix the menu to use the same matching logic then09: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 #bzflag10:04
*** allejo <allejo!~allejo@user/allejo> has joined #bzflag10:04
*** FastLizard4 <FastLizard4!fastlizard@wikipedia/FastLizard4> has joined #bzflag10:04
*** FastLizard4 is now away: AWAY from keyboard10:04
*** catay <catay!~smertens@user/catay> has joined #bzflag10:04
*** tantalum.libera.chat sets mode: +vv macsforme allejo10: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 #bzflag10:50
blast007I was also planning to enable the corner stretch by default since I think every controller I've tried so far has a circular range11:11
BZNotifybzflag: blast007 synchronized pull request #255 "Improved joystick support" by macsforme (2.4.28 - https://github.com/BZFlag-Dev/bzflag/pull/255)11:29
blast007We'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
macsformeI 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 right14:14
blast007I 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 Krunch19:08
*** Krunch is now known as adk19:08
*** adk is now known as Krunch19:09
macsformemy 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 values19:58
*** Juest <Juest!~Juest@user/Juest> has joined #bzflag22:55
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag23:23

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!