Skip to content

The Action Set API #7558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

flibitijibibo
Copy link
Collaborator

@flibitijibibo flibitijibibo commented Mar 30, 2023

Similar to SDL_gpu, this is just a way to look at SDL_actionset as it develops, with the hope that it will be usable early in the SDL3 dev cycle.

Right now I have the first draft in a standalone program, but before I start cleaning it up for SDL I thought I'd get the minimum boilerplate set up first.

The current specification for Action Sets can be found here.

TODO:

  • Update VisualC
  • Update Xcode
  • Update Android.mk
  • Regenerate dynapi

Fixes #4464

@flibitijibibo flibitijibibo added the enhancement New feature or request label Mar 30, 2023
@flibitijibibo flibitijibibo added this to the 3.2.0 milestone Mar 30, 2023
@flibitijibibo flibitijibibo self-assigned this Mar 30, 2023
@flibitijibibo flibitijibibo force-pushed the actionset branch 2 times, most recently from 2b0845e to a70700e Compare March 30, 2023 16:34
@flibitijibibo flibitijibibo force-pushed the actionset branch 2 times, most recently from e0ef7c0 to 57f684c Compare March 31, 2023 16:54
@slouken
Copy link
Collaborator

slouken commented Mar 31, 2023

I'm wondering if this should be a satellite library, like SDL_ttf?

@flibitijibibo
Copy link
Collaborator Author

I'm wondering if this should be a satellite library, like SDL_ttf?

Possibly! If it turns out the implementation doesn't require any SDL internals then this could probably be spun off into its own DLL. Just about the only thing I could find in the initial implementation is that we don't have a great way to detect keyboard/mouse hardware, everything else fits neatly into the usual SDL event watch.

@flibitijibibo
Copy link
Collaborator Author

The Intel builders are acting up today, could just be a repo update... mysteriously my repo's CI went through just fine, so I guess re-run failed tests tomorrow?

@madebr
Copy link
Contributor

madebr commented Mar 31, 2023

The Intel builders are acting up today, could just be a repo update... mysteriously my repo's CI went through just fine, so I guess re-run failed tests tomorrow?

I'll look into caching the compiler. The toolchain is huge, but well below the cache limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Develop SDL_ActionSet
3 participants