Keyboard & Mouse for Xbox xCloud

Keyboard & Mouse for Xbox xCloud

Play Xbox Cloud Gaming (Project xCloud) with a keyboard and mouse.

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "version": "3.6.1",
  "name": "Keyboard & Mouse for Xbox xCloud",
  "short_name": "xCloud KB&M",
  "description": "Play Xbox Cloud Gaming (Project xCloud) with a keyboard and mouse.",
  "author": "ModernKit.one",
  "icons": {
    "16": "icon-16.png",
    "48": "icon-48.png",
    "128": "icon-128.png"
  },
  "action": {
    "default_icon": {
      "16": "icon-16.png",
      "24": "icon-24.png",
      "32": "icon-32.png"
    },
    "default_popup": "popup.html",
    "default_title": "xCloud Keyboard and Mouse"
  },
  "commands": {
    "toggle-on-off": {
      "suggested_key": {
        "default": "Ctrl+Shift+U",
        "mac": "Command+Shift+U"
      },
      "description": "Toggle KBM on/off"
    },
    "profile-prev": {
      "suggested_key": {
        "default": "Ctrl+Shift+Left",
        "mac": "Command+Shift+Left"
      },
      "description": "Previous keyboard/mouse profile"
    },
    "profile-next": {
      "suggested_key": {
        "default": "Ctrl+Shift+Right",
        "mac": "Command+Shift+Right"
      },
      "description": "Next keyboard/mouse profile"
    },
    "show-hide-cheatsheet": {
      "suggested_key": {
        "default": "Ctrl+Shift+I",
        "mac": "Command+Shift+I"
      },
      "description": "Show/hide cheatsheet overlay"
    }
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "*://*.xbox.com/*"
      ],
      "js": [
        "js/vendor.js",
        "js/content_script.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/vendor.js",
        "js/injected.js",
        "css/*.css",
        "icon-16.png",
        "icon-32.png",
        "images/*"
      ],
      "matches": [
        "https://www.xbox.com/*",
        "https://modernkit.one/*"
      ]
    },
    {
      "resources": [
        "js/content_script_mk1.js"
      ],
      "matches": [
        "https://modernkit.one/*"
      ]
    }
  ],
  "background": {
    "service_worker": "js/background.js"
  },
  "host_permissions": [
    "*://*.xbox.com/*"
  ],
  "permissions": [
    "storage",
    "scripting"
  ],
  "externally_connectable": {
    "matches": [
      "https://modernkit.one/*"
    ]
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}