Comments (6)
ok, the thread was already removed in 2b41f49 , but still with current HEAD of SDL2 branch the problem persists
from sdl.
maybe @sharkwouter has an idea where SDL_JoystickUpdate() is supposed to be called from ?
from sdl.
ok, the thread was already removed in 2b41f49 , but still with current HEAD of SDL2 branch the problem persists
hmm, that commit fixed the issue too on real hardware, now it's only PPSSPP that doesnt detect short keypresses.
from sdl.
Okay, thanks for updating. I would personally use the gamepad API. It's easier to use and works more consistently. I don't know if that fixes the issue in PPSSPP, though.
Here is an example of how input is processed in OceanPop: https://github.com/sharkwouter/oceanpop/blob/master/src/EventManager.cpp
from sdl.
i've been testing the sceCtrlReadLatch function and it seems to work best in that it mimics "keyrepeats" that SDL only provides for keyboard events. i was able to circumvent that issue though by creating a timer that fires its own events every 25 ms after a button was pressed and not yet released. it's nicer to be able to use pure SDL code for everything, so also the "desktop version" of the app behaves identical. thanks for your link, reading it now.
from sdl.
If something doesn't work like on desktop on real hardware then that's a bug. I've never used that function, though.
from sdl.
Related Issues (20)
- Nintendo Sega Genesis Controller is Supported - but what about the 6 button Megadrive version HOT 1
- bad RWread error checking in testime.c HOT 3
- Autotools support HOT 4
- On XWayland, full screen request is ignored without error HOT 2
- Policy on tolerance of invalid parameters: programming error or API guarantee? HOT 2
- Improvements to and fixes of wikiheaders.pl and sdlwiki SDL API documentation generation. HOT 25
- Different SDL.h header file on releases Windows and MacOS .framework? HOT 1
- SDL_RenderPolygon's limit to the range 0 to 1 texture coordinates seems impractical and I don't get why it exists HOT 7
- Leaving Relative Mouse Mode with Esc in Emscripten causes state mismatch
- Android SDL2 2.30.[0|1] regression for ...IsTextInput... functions HOT 5
- Permission dialog which ruins controller input is displayed on Android when plugging in a USB controller HOT 17
- SDL_RaiseWindow doesn't work on X11 KWin with "Focus Stealing Prevention Level" set to Low
- cmake file can't be used without a C++ compiler HOT 5
- Commit ed463b4 doesn't respect `SDL_LEAN_AND_MEAN`
- SDL_LEAN_AND_MEAN CI build? HOT 2
- SDL2, wayland backend: Wayland scaling makes cursor smaller but it should be bigger HOT 11
- [SDL3] Fullscreen causes rendering issues (MacOS)
- [Windows:MSVC] building error with static SDL bug reappeared HOT 1
- *dst_px in SDL_PremultiplyAlpha() is inaccessible when setting cursor under wayland - causing "Bus error" HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.