mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Allow using J/K to move box as well
This commit is contained in:
parent
146225d87e
commit
00a6cbe53f
@ -116,7 +116,7 @@ namespace osu.Game.Screens
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Text = @"Welcome to the latency comparer!
|
||||
Use the arrow keys or Z/X to move the square.
|
||||
Use the arrow keys, Z/X/J/K to move the square.
|
||||
You can click the targets but you don't have to.
|
||||
Do whatever you need to try and perceive the difference in latency, then choose your best side.
|
||||
",
|
||||
@ -483,10 +483,12 @@ Do whatever you need to try and perceive the difference in latency, then choose
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
case Key.K:
|
||||
case Key.Up:
|
||||
box.Y = MathHelper.Clamp(box.Y - movementAmount, 0.1f, 0.9f);
|
||||
break;
|
||||
|
||||
case Key.J:
|
||||
case Key.Down:
|
||||
box.Y = MathHelper.Clamp(box.Y + movementAmount, 0.1f, 0.9f);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user