[Ohrrpgce] SVN: teeemcee/9596 gfx_sdl2: update events, mouse handling and text input. Now compiles!

James Paige Bob at hamsterrepublic.com
Sun Oct 22 16:53:58 PDT 2017


Ah, yes. The whole virtual gamepad thing would have to be re-implemented
within the gfx_sdl2 backend.

So probably I won't even attempt it until some day in the future when we
consider gfx_sdl2 to be really stable.

Anyway, very cool that you have started on this. :)

---
James


On Sun, Oct 22, 2017 at 4:14 PM, Ralph Versteegen <teeemcee at gmail.com>
wrote:

>
>
> On 23 October 2017 at 09:02, James Paige <Bob at hamsterrepublic.com> wrote:
>
>>
>>
>> On Sunday, October 22, 2017, Ralph Versteegen <teeemcee at gmail.com> wrote:
>>
>>>
>>>
>>> On 23 October 2017 at 02:30, <subversion at hamsterrepublic.com> wrote:
>>>
>>>> teeemcee
>>>> 2017-10-22 06:30:45 -0700 (Sun, 22 Oct 2017)
>>>> 69
>>>> gfx_sdl2: update events, mouse handling and text input. Now compiles!
>>>> ---
>>>> U   wip/gfx_sdl.bas
>>>> U   wip/gfx_sdl2.bas
>>>>
>>>
>>> In fact, it even runs! However, if you expect anything from gfx_sdl2
>>> beyond it compiling, you're expecting too much.
>>>
>>> There's loads of dubious code and comments in there that I left in
>>> because I didn't know if they're still relevant or not.
>>> And all the android stuff should probably just be removed. Either it's
>>> portable between gfx_sdl and gfx_sdl2, in which case ti should go
>>> elsewhere, or it's SDL1.2-android specific. I don't think SDL 2 has an
>>> onscreen gamepad.
>>> But the commandergenius repo has SDL2 as well as SDL1.2. Maybe the copy
>>> of SDL2 has some modifications?
>>>
>>
>> I am not sure, but I think SDL2 has it's own official Android port that
>> is newer than the commandergenius one.
>>
>
> Yes it does. But I meant, the commandergenius port was intended to make
> desktop games playable on android with minimal changes, by emulating a
> keyboard and mouse. SDL2 is very different, it's intended for games which
> are natively mobile, so they wouldn't provide that sort of emulation layer.
> So gfx_sdl2-based android/ios ports are probably going to be a lot of
> work. I'm not intending to look into it in the near future.
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20171022/55f946e7/attachment.html>


More information about the Ohrrpgce mailing list