From e65d9250f309ef7c9da49245c393d8b002792ab5 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Tue, 7 May 2019 00:26:05 +0200 Subject: [PATCH] Add joymap to support the R77 paddles. --- src/unix/r77/SettingsR77.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/unix/r77/SettingsR77.cxx b/src/unix/r77/SettingsR77.cxx index 1a53ced7d..e53f3852f 100644 --- a/src/unix/r77/SettingsR77.cxx +++ b/src/unix/r77/SettingsR77.cxx @@ -71,4 +71,10 @@ SettingsR77::SettingsR77() setPermanent("tv.phosphor", "always"); setPermanent("tv.phosblend", "45"); // level 6 setPermanent("tv.scanlines", "18"); // level 3 + + setPermanent("joymap", + string("joymap") + + "|126^i2c_controller|2 31 31 35 35 119 120 110 111|8 19 20 100 99 103 0 0 0 118 122 124 125 0 0 0 0" + + "|0^i2c_controller #2|2 39 39 43 43 119 120 110 111|8 26 27 100 99 103 0 0 0 118 122 124 125 0 0 0 0|0" + ); }