mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_set_emulate_joypad_bouncing (markdown)
parent
9acd467620
commit
8370a02700
|
@ -6,8 +6,16 @@ In `joypad.h`
|
|||
|
||||
## Description
|
||||
|
||||
TBD
|
||||
The physical buttons of various Game Boy models suffer from button bouncing, and do not instantly transition from a released state to a pressed one, and vice versa. This functions controls whether or not this physical behavior should be emulated by software.
|
||||
|
||||
By default, button bouncing is emulated.
|
||||
|
||||
## Thread Safety
|
||||
|
||||
`GB_set_emulate_joypad_bouncing` is thread-safe and can be called from any thread and context.
|
||||
|
||||
## Notes
|
||||
|
||||
The time it takes for a bouncing button to stabilize depends on the currently emulated [[model|GB_model_t]]. Super Game Boy and Game Boy Player models never emulate joypad bouncing.
|
||||
|
||||
Despite the bouncing pattern being pseudo random, it's completely deterministic and reproducable.
|
Loading…
Reference in New Issue