From 807ccb4a5fecb4a95b04f5ed3a56beae78108166 Mon Sep 17 00:00:00 2001 From: Tuxinal <24763016+tuxinal@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:05:08 +0330 Subject: [PATCH] update findbycode query --- src/renderer/patches/keybinds.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/patches/keybinds.tsx b/src/renderer/patches/keybinds.tsx index a1bd3c5..29d4843 100644 --- a/src/renderer/patches/keybinds.tsx +++ b/src/renderer/patches/keybinds.tsx @@ -9,7 +9,7 @@ import { keybindCallbacks } from "renderer"; import { addPatch } from "./shared"; import { ErrorCard } from "@vencord/types/components"; -const toShortcutString = findByCodeLazy('return"gamepad".'); +const toShortcutString = findByCodeLazy('.MOUSE_BUTTON?"mouse".concat('); const actionReadableNames: { [key: string]: string } = { PUSH_TO_TALK: "Push To Talk", PUSH_TO_TALK_PRIORITY: "Push To Talk (Priority)",