update controller definition in dsm importer

This commit is contained in:
CasualPokePlayer 2022-03-20 22:59:00 -07:00 committed by GitHub
parent 7c50d9285f
commit 5ee78ab8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ namespace BizHawk.Client.Common
{
BoolButtons = { "Up", "Down", "Left", "Right", "Start", "Select", "B", "A", "Y", "X", "L", "R", "LidOpen", "LidClose", "Touch", "Power" },
}.AddXYPair("Touch {0}", AxisPairOrientation.RightAndUp, 0.RangeTo(255), 128, 0.RangeTo(191), 96) //TODO verify direction against hardware
.AddAxis("Mic Input", 0.RangeTo(2047), 0)
.AddAxis("Mic Volume", 0.RangeTo(100), 0)
.AddAxis("GBA Light Sensor", 0.RangeTo(10), 0)
.MakeImmutable();
@ -129,8 +129,8 @@ namespace BizHawk.Client.Common
{
("Touch X", touchX),
("Touch Y", touchY),
("Mic Input", 0),
("GBA Light Sensor", 0)
("Mic Volume", 0),
("GBA Light Sensor", 0),
});
}