// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
"move": [
{
"id": 0,
"input_sources": [
"keyboard"
],
"name": "Virtual Joystick",
"keys": [
"KeyW",
"KeyA",
"KeyS",
"KeyD"
],
"location": [
{
"type": "position",
"anchor": [
0,
1
],
"anchor_to_target": [
0.0967033,
-0.12952799
]
}
]
}
],
"tap": [
{
"id": 1,
"input_sources": [
"keyboard"
],
"name": "jump",
"key": "Space",
"location": [
{
"type": "position",
"anchor": [
1,
1
],
"anchor_to_target": [
-0.08058608,
-0.12513721
]
}
]
},
{
"id": 2,
"input_sources": [
"keyboard"
],
"name": "pause",
"key": "Backspace",
"location": [
{
"type": "position",
"anchor": [
0,
0
],
"anchor_to_target": [
0.041025642,
0.050493963
]
},
{
"type": "position",
"anchor": [
1,
1
],
"anchor_to_target": [
-0.16483517,
-0.09989023
]
}
]
}
]
}