00:02.08 | *** join/#bzflag Zehra (~Zehra@unaffiliated/zehra) |
00:04.32 | allejo | does linux do its own thing with the numpad too? |
00:04.56 | blast007 | gonna try to build the their checkkeys program quick |
00:21.47 | *** join/#bzflag infobot (ibot@rikers.org) |
00:21.47 | *** topic/#bzflag is https://BZFlag.org || http://ohloh.net/p/bzflag || https://bzflag.org/help || Channel Logs: http://infobot.rikers.org/%23bzflag/ || 2.4.12 released! https://forums.bzflag.org/viewtopic.php?f=62&t=19720 |
00:21.47 | *** mode/#bzflag [+v infobot] by ChanServ |
01:26.14 | blast007 | Zehra: you'll want to specify which version of the LGPL license you're using (such as LGPL 2.1) |
01:39.42 | *** join/#bzflag spldart (~spldart@bzflag/contributor/spldart) |
01:39.42 | *** mode/#bzflag [+v spldart] by ChanServ |
02:02.40 | Zehra | oh okay |
02:02.56 | Zehra | Thanks blast007. |
02:03.43 | Zehra | Could you add it as "LGPL 2.1", so I don't have to make an extra post for it? |
02:04.55 | Zehra | needs to pay more attention to IRC |
02:06.22 | FusionDude | shouldn't a keycode be a keycode? |
02:07.23 | *** mode/#bzflag [-v short_circuit] by ChanServ |
02:08.17 | *** join/#bzflag JeffM__ (sid48618@gateway/web/irccloud.com/x-doewhsnvxrucmycm) |
02:08.17 | *** mode/#bzflag [+v JeffM__] by ChanServ |
02:11.06 | blast007 | RoscoePColtrane: at least with SDL2, there's scancodes/keycodes and text input events |
02:11.36 | blast007 | we use text input events for most keys |
02:11.39 | RoscoePColtrane | I would think that navigation should go off keycodes, and not text input |
02:12.08 | blast007 | Zehra: I updated your original post |
02:12.09 | RoscoePColtrane | that is, top-row 8 should be different from numpad 8 |
02:12.47 | Zehra | Ty blast007. |
02:12.58 | *** join/#bzflag macsforme (~macsforme@rahab.fairserve.net) |
02:12.58 | *** join/#bzflag macsforme (~macsforme@bzflag/developer/Constitution) |
02:12.58 | *** mode/#bzflag [+o macsforme] by ChanServ |
02:15.39 | blast007 | in general, our keybinding is all kinds of jacked up |
02:16.43 | blast007 | the bindings are affected by the keyboard locale, for instance, so some key mapping layouts can't be used with the game because non-latin letters can't be used |
02:17.13 | allejo | ö |
02:17.57 | RoscoePColtrane | all the more reason to use keycodes |
02:20.08 | blast007 | yeah |
02:21.50 | blast007 | should use scancodes/keycodes for actions, and text input events for.. typing text :) |
02:21.58 | RoscoePColtrane | :) |
02:22.34 | blast007 | part of that will be standardizing on SDL2. I think SDL1 did stuff different in regards to input |
03:26.01 | macsforme | we have the special macOS numpad code because SDL 2 throws in an extra SDL_TEXTINPUT event when it isn't supposed to, IIRC |
03:29.10 | macsforme | https://github.com/BZFlag-Dev/bzflag/commit/45d16ac25c110fa7f9e4a582cb1105a70f1ea064 |
03:58.08 | macsforme | it looks like on macOS with SDL 2, you get the exact same result when you press a numpad key whether numlock is on or off (a key down event with the correct scancode and keycode, plus a text input event with the applicable number), except you get the NUM modifier when numlock is on |
03:58.44 | RoscoePColtrane | that's promising |
03:59.20 | macsforme | (and in bz's code, we filter out the text input event if numlock is off) |
04:14.31 | macsforme | so I'm actually not sure how we get arrows from the numpad keys... maybe that's inside our code somewhere? |
04:48.56 | macsforme | oh, I guess blast007 hardcoded the numpad key behaviors for when numlock is off in that patch that was cited in the issue |
04:49.27 | macsforme | I guess I don't understand the purpose of that patch at all |
05:04.47 | *** join/#bzflag nadir (uid134094@gateway/web/irccloud.com/x-kjhlhfjyxnucpgii) |
09:51.28 | *** join/#bzflag infobot (ibot@rikers.org) |
09:51.28 | *** topic/#bzflag is https://BZFlag.org || http://ohloh.net/p/bzflag || https://bzflag.org/help || Channel Logs: http://infobot.rikers.org/%23bzflag/ || 2.4.12 released! https://forums.bzflag.org/viewtopic.php?f=62&t=19720 |
09:51.28 | *** mode/#bzflag [+v infobot] by ChanServ |
15:16.23 | *** join/#bzflag rodgort (~rodgort@68.ip-149-56-14.net) |
15:54.21 | *** join/#bzflag DTRemenak|RDP (~DTRemenak@about/essy/CrazyCoder/DTRemenak) |
15:54.21 | *** mode/#bzflag [+v DTRemenak|RDP] by ChanServ |
18:54.43 | *** join/#bzflag galileo_ (~QUJAAAAAA@d216-108-171-73.nt.northwestel.net) |
19:00.10 | *** join/#bzflag nadir (uid134094@gateway/web/irccloud.com/x-txbgfpauywrgnktw) |
21:13.56 | *** join/#bzflag the-map (the_map@gateway/vpn/privateinternetaccess/themap/x-38220869) |
22:40.18 | *** join/#bzflag Zehra (~Zehra@unaffiliated/zehra) |
22:42.31 | *** join/#bzflag Notify (~notify@104.225.5.10) |
23:51.27 | Zehra | I know this question is going to really sound stupid. |
23:51.58 | Zehra | I'm looking for a replacement for bz_eChatMessageEvent in the API. |
23:52.30 | Zehra | I see filtered messages and stuff, but there doesn't seem to be an event for unfiltered messages. |
23:53.18 | Zehra | oops, nevermind. |
23:54.01 | Zehra | I found the event I was looking for. |