mirror of https://github.com/stella-emu/stella.git
Make sure that the resistance read from paddle controllers is always in the physical range.
This commit is contained in:
parent
41ec98c6c1
commit
38b452e1a0
|
@ -26,6 +26,8 @@ Paddles::Paddles(Jack jack, const Event& event, const System& system,
|
||||||
myMPaddleIDX(-1),
|
myMPaddleIDX(-1),
|
||||||
myMPaddleIDY(-1)
|
myMPaddleIDY(-1)
|
||||||
{
|
{
|
||||||
|
myAnalogPinValue[Nine] = myAnalogPinValue[Five] = 0;
|
||||||
|
|
||||||
// The following logic reflects that mapping paddles to different
|
// The following logic reflects that mapping paddles to different
|
||||||
// devices can be extremely complex
|
// devices can be extremely complex
|
||||||
// As well, while many paddle games have horizontal movement of
|
// As well, while many paddle games have horizontal movement of
|
||||||
|
|
Loading…
Reference in New Issue