daid / daid/EmptyEpsilon

Joystick events not detected under netboot

Open
#1,987 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

It appears that with the current systemd service included with the netboot script that launches startx with the EE binary as a parameter. This seems to means that joysticks although detected do not register events inside EE and so cannot be used.

I can fix this behaviour by instead changing the service to simply just call the EE binary direct, which auto launches X anyway
ie ExecStart=/root/EmptyEpsilon/EmptyEpsilon

I suspect this may have something to do with X and window focus so events are not being forwarded to SDL correctly, but I'm not sure if my "fix" is the correct way or just a lucky workaround?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the current systemd service included with the netboot script and compare its startx/EE command with ExecStart=/root/EmptyEpsilon/EmptyEpsilon. Run the netboot setup and verify whether joystick events are detected inside EE with each command, especially when X is launched, then confirm the service change is reliable rather than a workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.