*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag | 00:20 | |
*** bryjen <bryjen!~bryjen@2603-6010-7a04-7681-b68c-9dff-fecf-1169.res6.spectrum.com> has quit IRC (Quit: Leaving) | 00:25 | |
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Quit: Quit.) | 03:13 | |
*** 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) | 04:12 | |
*** FastLizard4 is back | 04:44 | |
*** FastLizard4 is now away: AWAY from keyboard | 05:03 | |
*** Cobra_Fast is now away: vacant | 06:17 | |
*** Cobra_Fast is back | 06:17 | |
*** Cobra_Fast is now away: vacant | 06:52 | |
*** Cobra_Fast is back | 06:52 | |
*** FastLizard4 is back | 07:25 | |
*** Cobra_Fast is now away: vacant | 07:29 | |
*** Cobra_Fast is back | 07:29 | |
*** Cobra_Fast is now away: vacant | 08:00 | |
*** Cobra_Fast is back | 08:00 | |
*** FastLizard4 is now away: AWAY from keyboard | 08:01 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 08:13 | |
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life) | 08:31 | |
*** Cobra_Fast is now away: vacant | 08:37 | |
*** Cobra_Fast is back | 08:37 | |
BZNotify | bzflag: blast007 synchronized pull request #255 "Improved joystick support" by macsforme (2.4.28 - https://github.com/BZFlag-Dev/bzflag/pull/255) | 10:38 |
---|---|---|
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 11:28 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 11:29 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 260 seconds) | 12:01 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 260 seconds) | 12:01 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 12:01 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 12:01 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Quit: Leaving) | 13:04 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Quit: Leaving) | 13:04 | |
blast007 | I was trying to see if there's a better way to store and match the user selected joystick device. Currently I believe we store the index and name of the joystick device to the config, but that can change run to run if a joystick was removed or added (or possibly depends on the order the OS detected them?). | 13:34 |
blast007 | There's a joystick GUID as well, but there's some other problems with that. One is that if you have multiple of the same joysticks, they both will have the same GUID. A second is that, at least on Linux, the GUID changes depending on if I'm using the gamepad over bluetooth or via USB. | 13:35 |
blast007 | So I thought of a different method this morning. What if we just automatically pick a joystick? If there's just 1 device detected, we make that the active device. If there's multiple, we init all of them and when a button is press on one of them we make that the active and close the rest. | 13:37 |
blast007 | There's some oddities I'd have to check into, such as my PS4 gamepads showing up as both a PS4 Dual Shock and as an Xbox 360 gamepad. Maybe only one of them would be supported by SDL's game controller interface and I could filter out the other that way. | 13:41 |
blast007 | And then somewhat related to that is that I would change the axis selection from a dynamic list based on what is reported to just None/Disable, Left X, Left Y, Right X, and Right Y. SDL's game controller API normalizes axis, button, and d-pad/hat mappings. | 13:46 |
blast007 | I'm going to test PR 255 more to see if there's any regressions introduced so that we can get that merged. | 13:48 |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 14:06 | |
*** ChanServ <ChanServ!ChanServ@services.libera.chat> has quit IRC (shutting down) | 18:03 | |
*** ChanServ <ChanServ!ChanServ@services.libera.chat> has joined #bzflag | 18:15 | |
*** calcium.libera.chat sets mode: +o ChanServ | 18:15 | |
*** spldart <spldart!~spldart@2601:2c5:c600:8fc0:3210:b3ff:fef0:93af> has quit IRC (Ping timeout: 246 seconds) | 20:40 | |
*** spldart <spldart!~spldart@2601:2c5:c600:8fc0:3210:b3ff:fef0:93af> has joined #bzflag | 23:27 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!