#gemrb@irc.freenode.net logs for 6 May 2016 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:47:50] <-- DrMcCoy has left IRC (Ping timeout: 276 seconds)
[00:48:26] --> DrMcCoy has joined #gemrb
[02:48:37] --> PixelScum has joined #gemrb
[02:50:04] <-- Drakkar has left IRC (Read error: Connection reset by peer)
[03:17:16] --> brada has joined #gemrb
[03:18:53] <brada> kujeger: yes that is needed for mobile. the entire SDL2 driver was originally only written with mobile in mind. other things needed to be done before worrying about desktops.
[03:19:19] <brada> you can use git blame/log to get details on when/why something was added
[03:20:23] <brada> However, I cant see how removing that would help you. shouldnt SDL_TOUCH_MOUSEID only match touchscreens?
[03:22:02] <brada> just remove it for your own purposes and wait till this rewrite is merged or ifdef it for ios/android
[03:28:08] <-- PixelScum has left IRC (Ping timeout: 260 seconds)
[03:29:55] --> Drakkar has joined #gemrb
[04:08:44] <-- brada has left IRC (Quit: brada)
[06:51:37] <kujeger> brada: yeah, it matching SDL_TOUCH_MOUSEID is surprising, but I have verified it actually does fix it. so an ifdef is a good idea, I'll try it out later.
[07:23:13] --> GeneralDuke has joined #gemrb
[12:23:28] <-- SinisterRectus has left IRC (Read error: Connection reset by peer)
[15:05:17] --> brada has joined #gemrb
[15:05:31] <brada> what games use the BIK videos?
[15:07:49] <fuzzie> iwd2 I think?
[15:08:21] <-- GeneralDuke has left IRC (Quit: GeneralDuke)
[15:09:49] --> Eli2_ has joined #gemrb
[15:11:38] <brada> thats what I thought...
[15:12:33] <-- Eli2| has left IRC (Ping timeout: 244 seconds)
[15:50:21] <-- brada has left IRC (Quit: brada)
[16:58:37] --> kingron has joined #gemrb
[17:07:44] <kujeger> brada: ah, the mouse thing: since the if in SDL_MOUSEMOTION/SDL_MOUSEBUTTONDOWN/SDL_MOUSEBUTTONUP does not trigger a break unless the event is SDL_TOUCH_MOUSEID, they all continue down the the if-s under SDL_KEYDOWN. Clicking the mousebuttons, moving while holding and such put values in event.key.keysym.scancode . These are usually outside the ranges that are checked for breaks under SDL_KEYDOWN, but it just
[17:07:46] <kujeger> so happens that RMB+moving mouse generates scancode 4, which is keycode 97. Which triggers a break -- stopping mouse movement.
[20:12:25] --> SinisterRectus has joined #gemrb
[21:17:13] <-- kingron has left IRC (Quit: Leaving)