Skip to content

Instantly share code, notes, and snippets.

@Onesade
Created January 3, 2024 15:52
Show Gist options
  • Save Onesade/61c62140052fd2fcb982ed7066098104 to your computer and use it in GitHub Desktop.
Save Onesade/61c62140052fd2fcb982ed7066098104 to your computer and use it in GitHub Desktop.
QtScrcpy minecraft keymap
{
"switchKey": "Key_QuoteLeft",
"mouseMoveMap": {
"startPos": {
"x": 0.5,
"y": 0.5
},
"speedRatioX": 5,
"speedRatioY": 5
},
"keyMapNodes": [
{
"comment": "背包",
"type": "KMT_CLICK",
"key": "Key_E",
"pos": {
"x": 0.66,
"y": 0.9
},
"switchMap": true
},
{
"comment": "移动",
"type": "KMT_STEER_WHEEL",
"centerPos": {
"x": 0.12,
"y": 0.77
},
"leftOffset": 0.07,
"rightOffset": 0.07,
"upOffset": 0.12,
"downOffset": 0.12,
"leftKey": "Key_A",
"rightKey": "Key_D",
"upKey": "Key_W",
"downKey": "Key_S"
},
{
"comment": "跳",
"type": "KMT_CLICK",
"key": "Key_Space",
"pos": {
"x": 0.94,
"y": 0.42
},
"switchMap": false
},
{
"comment": "攻击",
"type": "KMT_CLICK",
"key": "LeftButton",
"pos": {
"x": 0.85,
"y": 0.64
},
"switchMap": false
},
{
"comment": "放置",
"type": "KMT_CLICK",
"key": "RightButton",
"pos": {
"x": 0.94,
"y": 0.72
},
"switchMap": false
},
{
"comment": "蹲下",
"type": "KMT_CLICK",
"key": "Key_Shift",
"pos": {
"x": 0.94,
"y": 0.56
},
"switchMap": false
},
{
"comment": "1",
"type": "KMT_CLICK",
"key": "Key_1",
"pos": {
"x": 0.30,
"y": 0.95
},
"switchMap": false
},
{
"comment": "2",
"type": "KMT_CLICK",
"key": "Key_2",
"pos": {
"x": 0.34,
"y": 0.95
},
"switchMap": false
},
{
"comment": "3",
"type": "KMT_CLICK",
"key": "Key_3",
"pos": {
"x": 0.40,
"y": 0.95
},
"switchMap": false
},
{
"comment": "4",
"type": "KMT_CLICK",
"key": "Key_4",
"pos": {
"x": 0.4525,
"y": 0.95
},
"switchMap": false
},
{
"comment": "5",
"type": "KMT_CLICK",
"key": "Key_5",
"pos": {
"x": 0.50,
"y": 0.95
},
"switchMap": false
},
{
"comment": "疾跑",
"type": "KMT_CLICK",
"key": "Key_V",
"pos": {
"x": 0.856354,
"y": 0.49651
},
"switchMap": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment