Download the PHP package dept-of-scrapyard-robotics/sdl3-input without Composer

On this page you can find all versions of the php package dept-of-scrapyard-robotics/sdl3-input. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdl3-input

SDL3 Input

Poll-based SDL3 keyboard, mouse, touch, and game-controller circuits for ScrapyardIO.

SDLInputEventHub is the sole owner of SDL's global event queue. Poll the hub (or any of its circuit-backed inputs) once per frame. It fans each event out to the relevant stateful input and to optional listeners before freeing it.

Circuit aliases:

Display gating

Sketches and the shared display event-pump bridge activate only when dept-of-scrapyard-robotics/sdl3-display is installed. Alone, this package registers circuits/actuators but does not open windows or steal the SDL queue from a display.

When both packages are present, display presentation pumps through the shared owner and cannot steal keyboard, pointer, touch, or controller events.

Controller notes (ext-sdl3 0.5)

sdl3-display only boots SDL_INIT_VIDEO. The hub calls Init::initSubSystem(SDL_INIT_GAMEPAD) on poll, syncs already-connected pads, and samples sticks/buttons via Gamepad::getGamepadAxis / Gamepad::getGamepadButton.

ext-sdl3's SDLReadEvent does not implement jdevice / gdevice / gaxis / gbutton (unsupported keys free the event and throw). Joystick/gamepad queue events are decoded from getEventDescription() instead.

Visual demos

Each demo opens an SDL3 windowed UI via Visual::display('windowed', 'sdl3') and renders live device state plus a recent-event log. Close the window or press Ctrl+C to stop.

Run the package suite from this directory with:


All versions of sdl3-input with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4|^8.5|^8.6
ext-sdl3 Version ^0.5.0
fabricate/actuation Version ^0.6.0
fabricate/circuits Version ^0.6.0
fabricate/contracts Version ^0.6.0
fabricate/nuts-and-bolts Version ^0.6.0
fabricate/sketches Version ^0.6.0
microscrap/sdl3 Version ^0.5.0
waveforms/input Version ^0.6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dept-of-scrapyard-robotics/sdl3-input contains the following files

Loading the files please wait ...