blast007 | macsforme: So I tried the joystick PR on Windows and Linux. Seem gcc lacks the std::sqrtf function ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79700 ) so should that just be sqrtf(..) or std::sqrt? Also on both platforms, I couldn't get the joystick axes to work, neither in the test dialog nor joined to a server. | 00:33 |
---|---|---|
macsforme | should probably be std::sqrt(), or just sqrtf() | 06:52 |
macsforme | did the joystick work before the PR? | 06:53 |
macsforme | sorry... I should have read your question better about sqrt :-P | 07:16 |
*** User49 <User49!~FieldSobe@unaffiliated/user49> has joined #bzflag | 08:07 | |
*** FieldSobers <FieldSobers!~FieldSobe@unaffiliated/user49> has quit IRC (Ping timeout: 246 seconds) | 08:08 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 08:22 | |
blast007 | yes, joysticks worked before the PR | 11:05 |
blast007 | I'll poke around at it later today | 11:06 |
blast007 | ah, Linux is using EvdevJoystick and Windows is probably using WinJoystick, neither of which have a matching getJoy function, so instead the base BzfJoystick::getJoy is being used, which just sets the values to 0. | 12:59 |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 16:21 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has quit IRC (Quit: Leaving) | 18:10 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag | 18:29 | |
*** ChanServ sets mode: +v spldart | 18:29 | |
*** The_Noah_ <The_Noah_!~The_Noah@47.185.216.66> has joined #bzflag | 21:59 | |
*** The_Noah <The_Noah!~The_Noah@47.185.216.66> has quit IRC (Ping timeout: 246 seconds) | 22:00 | |
*** The_Noah <The_Noah!~The_Noah@47.185.216.66> has joined #bzflag | 22:02 | |
*** _The_Noah <_The_Noah!~The_Noah@47.185.216.66> has joined #bzflag | 22:04 | |
*** The_Noah_ <The_Noah_!~The_Noah@47.185.216.66> has quit IRC (Ping timeout: 240 seconds) | 22:05 | |
*** The_Noah <The_Noah!~The_Noah@47.185.216.66> has quit IRC (Ping timeout: 258 seconds) | 22:07 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!