(GSoC 2024) SDL2 Library

Discussing libraries simplifying applications development
  • Currently, I have made a working audio driver for SDL2:
    Downloaded 21 times
    The program which randomly generates tones and feeds to an audio buffer, was compiled using SDL2 library.
    The driver needs more work before I will push the changes to my repository though.
  • Playing a WAV file through SDL2 (without using SDL_mixer) on KolibriOS:
    wav file demo
    Downloaded 19 times

    The program itself:
    playwav.zip (1.75 KiB)
    Downloaded 26 times
    I have yet to push changes to my repository for audio support though.
  • Changes for audio support have been pushed to the repository:
    https://github.com/arnavbhatt288/sdl-2. ... 16ff3ee6a4

    A test program is pre-compiled (the playwav program) for demonstrating the audio support:
    Downloaded 12 times
    Last edited by arnavbhatt288 on Mon Jun 17, 2024 2:29 am, edited 1 time in total.
  • Hi! May I make a mirror of your repo on official KOS's git host?
  • Sweetbread wrote: Mon Jun 10, 2024 12:26 am Hi! May I make a mirror of your repo on official KOS's git host?
    Sure, why not?
  • Video subsystem for SDL2 is now functional. Loading a bitmap file as a texture for test:
    Downloaded 7 times
    Now, keyboard and mouse events are being implemented.
  • Keyboard and mouse event is now implemented.

    Keyboard event:
    Not downloaded yet
    Mouse button event:
    mouse_event.mp4 (292.21 KiB)
    Not downloaded yet
    Mouse hover event:
    Not downloaded yet


    Loading cursor through SDL2 is now also supported. This pictures showcases loading default SDL2 cursor:
    photo_2024-06-17_01-46-34.jpg
    photo_2024-06-17_01-46-34.jpg (57.9 KiB)
    Viewed 28 times
  • arnavbhatt288 wrote: Sun Jun 16, 2024 11:18 pm Keyboard and mouse event is now implemented.

    Keyboard event:
    keyboard_event.mp4

    Mouse button event:
    mouse_event.mp4

    Mouse hover event:
    mouse_hover_event.mp4



    Loading cursor through SDL2 is now also supported. This pictures showcases loading default SDL2 cursor:
    photo_2024-06-17_01-46-34.jpg
    Here is the demo program (contains the pre-compiled binary and the source code):
    handling_events.zip (323.21 KiB)
    Not downloaded yet

    Video subsystem changes will be pushed to the repository sooner.
  • arnavbhatt288 wrote: Sun Jun 16, 2024 11:28 pm
    arnavbhatt288 wrote: Sun Jun 16, 2024 11:18 pm Keyboard and mouse event is now implemented.

    Keyboard event:
    keyboard_event.mp4

    Mouse button event:
    mouse_event.mp4

    Mouse hover event:
    mouse_hover_event.mp4



    Loading cursor through SDL2 is now also supported. This pictures showcases loading default SDL2 cursor:
    photo_2024-06-17_01-46-34.jpg
    Here is the demo program (contains the pre-compiled binary and the source code):
    handling_events.zip


    Video subsystem changes will be pushed to the repository sooner.
    Video subsystem changes have been pushed to the repository:
    https://github.com/arnavbhatt288/sdl-2. ... 68232f55cc
  • Who is online

    Users browsing this forum: No registered users and 1 guest