Call for contributions: input and pads (libScePad, mouse, keyboard, IME)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
Choose one input area and comment before starting, as the issue requests. For the explicitly good first issue, read the six inert pad functions in core/libs/prx/libScePad/, then inspect the scripted input tests in core/libs/prx/libScePad/tests/ and core/libs/tests/GuestPad.cpp. Run ctest --test-dir build -R pad --output-on-failure; done means the selected exports behave as expected and the tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Call for contributions: input and pads
Why
Controls are the other thing every title needs on the first screen. Counted from the code: libScePad has 57 implemented exports, 165 unimplemented and 6 that return success without effect (scePadIsDS4Connected, scePadIsMoveConnected, scePadEnableExtensionPort, ...). libSceMouse has 13 unimplemented exports and libSceKeyboard 15 (sceMouseDeviceOpen, sceKeyboardConnectPort, ...); libSceIme has 46.
What to pick
- Pad: the connection and device functions (
scePadConnectPort,scePadDeviceOpen,scePadDisconnectDevice), the data-conversion and active-profile switches, then the controller-update family (core/libs/prx/libScePad/, state insrc/PadState.cpp, host side ininclude/). - Mouse and keyboard: open, close, read and device info on top of the host's SDL input (
core/libs/prx/libSceMouse/,libSceKeyboard/). - IME: the 46 unimplemented exports, starting with the ones that only need state (
core/libs/prx/libSceIme/). - Quality: mapping defaults for keyboard and mouse, rumble and haptic behaviour (
docs/dev/TechnicalDebt.mdsays the haptic-to-rumble mapping is not measured against a real controller; a measurement with your own controller is welcome).
Expected result
Exports that behave like the console when no controller, one controller or several controllers are connected, driven by the host's real or scripted input.
How to test without our games
libScePad has a scripted input layer so tests need no physical controller: see InputScript.cpp, InputCommandFile.cpp, PadRecording.cpp and PadIdentify.cpp in core/libs/prx/libScePad/tests/, and core/libs/tests/GuestPad.cpp. Run ctest --test-dir build -R pad --output-on-failure. For a hands-on check with your own controller, write in the pull request what you pressed and what the test program printed.
Difficulty
Medium; good first issue for the 6 inert pad functions.
Who to ask
Ask in this issue; the maintainers read every comment.
Rules that apply to every call
- Comment on the issue before you start, so two people do not do the same work. One topic per pull request, against
AnyKyty. - Conventional Commits (
fix(libkernel): ...,feat(libScePad): ...,test(...),docs: ...). No comments in code. Nothing specific to one title: no title IDs, no data taken from a game, no per-title branches. - Every export either does exactly what it should or throws: an unimplemented export calls
NotImplemented_nid_no_patch(__func__). A silent stub is allowed only when it unblocks a title and only affects the UI; list it under "Silent stubs" in the library's file indocs/dev/debt/through a fragment (docs/dev/debt/changes/<branch>.md, seedocs/dev/TechnicalDebt.md). - Say where a behaviour comes from: public SDK headers and documentation, a published reverse-engineering write-up, or your own analysis of your own console's system modules. Do not post or attach firmware files, system modules or game files.
- Each test finishes in 30 s on the CI runners.
python3 tools/check_conventions.py --base origin/AnyKytymust pass before you push. - Build and test:
docs/dev/START_HERE.mdanddocs/dev/BUILD.md. CI runs the library tests on GitHub's runners (no GPU, no game) on Linux and Windows.
- Lingua principale
- C++
- Stelle
- 214
- Fork
- 7
- Merge medio
- 7h 53m
- PR unite (30g)
- 280
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simnJS/AnyPS5
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#735 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#721 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
simnJS/AnyPS5#716 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)Forse già presa @adam25136 l’ha presa oggi. Apertaarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
simnJS/AnyPS5#705 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
simnJS/AnyPS5#741 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simnJS/AnyPS5
Issue simili
-
area:tests kind:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
? - Needs Triage bot_watch bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/cudf-spark-jni#5594 ·
I maintainer di solito rispondono entro 1 giorno
-
Branch-master
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TrinityCore/TrinityCore#32177 ·
I maintainer di solito rispondono entro 10 giorni
-
area:manager enhancement kind:ux P3 platform:windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno