The Simple Gamepad

AnkiWeb addon 690923309

Maps standard gamepad buttons to Anki actions like flip, answer, undo, and browser, with custom keyboard-shortcut slots for template actions.
AI-generated summary; may contain mistakes.

review-flowshortcutscard-templatesaccessibility

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
2 (๐Ÿ‘ 2 ยท ๐Ÿ‘Ž 0)
Updated
2026-03-29
Anki versions
25.09~
Description language
en

Maintenance

stale

  • Last update or commit was 186 days before the snapshot (2026-03-29).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.125.09+2026-03-29
History across monthly snapshots

Loadingโ€ฆ

Similar addons

Controller4Anki

Control Anki reviews with any gamepad: map buttons to 28 actions, open live config, and rate, reveal, undo, and more without keyboard or mouse.

review-flowshortcutsaccessibility

Rating 0 ๐Ÿ‘ 0 ยท ๐Ÿ‘Ž 0 Anki 2.1.1~ Updated 2026-05-19
8BitDo Micro Anki Controller

Provides a fixed, setup-free button layout for Anki review and deck navigation, including Show Answer/Good, Again, Undo, scrolling, Move Up/Down, Study, and Sync.

review-flowshortcutsaccessibility

Rating 0 ๐Ÿ‘ 0 ยท ๐Ÿ‘Ž 0 โญ 1 Anki 2.1.1~ Updated 2026-05-09
Gamepad/Controller Mapper

Enables native gamepad control in Anki with auto-switching profiles, modifier layers, press-to-bind shortcuts, and analog-stick scrolling, without external mapping software.

shortcutsaccessibility

Rating 3 ๐Ÿ‘ 3 ยท ๐Ÿ‘Ž 0 Anki 2.1.1~ Updated 2026-09-24
Mouse Shortcuts

Assigns mouse buttons and scroll actions to answer, grade, or undo cards during Anki reviews, with separate question/answer mappings, long-press options, and quick toggling.

review-flowshortcutsaccessibility

Rating 1 ๐Ÿ‘ 1 ยท ๐Ÿ‘Ž 0 โญ 0 Anki 25.07.1~ Updated 2026-08-02

README

Simple Gamepad

Map gamepad buttons to Anki actions. No profiles, no overlays, just a button-to-action config.

What it does

Connects any standard gamepad (Xbox, PlayStation, 8BitDo, etc.) to Anki and lets you assign an action to each button: flip cards, answer Again/Hard/Good/Easy, undo, open browser, and more.

Supports all standard gamepad buttons: A/B/X/Y, D-pad, shoulders, triggers, thumbstick buttons, options, and menu.

Custom action slots let you simulate any keyboard shortcut, so you can trigger things in your card templates (e.g. toggle a hint field, play audio).

How to install

  1. Download the .ankiaddon file
  2. Double-click it, or go to Anki > Tools > Add-ons > Install from file
  3. Restart Anki

How to use

  1. Connect your gamepad via USB or Bluetooth
  2. Press any button and you'll see a "Gamepad connected" tooltip
  3. Go to Tools > Simple Gamepad Settings to configure button mappings
  4. For custom actions: assign a keyboard shortcut to a Custom slot, then add a matching keydown listener in your card template

Defaults

Button Action
A Flip Card
B Undo
D-pad Up Good
D-pad Down Again
D-pad Left Hard
D-pad Right Easy
Everything else Nothing

Custom action example (desktop)

In the addon config, set Custom 1 to the key P. Map a gamepad button to Custom 1.

In your card template, add:

<script>
document.addEventListener('keydown', function(e) {
    if (e.key === 'p') {
        var btn = document.querySelector('.replay-button') ||
                  document.querySelector('.replaybutton') ||
                  document.querySelector('.soundLink');
        if (btn) btn.click();
    }
});
</script>

Now the mapped gamepad button plays the card audio.

Custom actions on iPhone (AnkiMobile)

This addon is for Anki desktop only, but AnkiMobile has its own custom action support using userJs functions.

  1. In your card template, add a userJs1 function:
<script>
globalThis.userJs1 = function() {
    var btn = document.querySelector('.replay-button') ||
              document.querySelector('.replaybutton') ||
              document.querySelector('.soundLink');
    if (btn) btn.click();
};
</script>
  1. In AnkiMobile, go to Settings > Review > Gamepads
  2. Map a button to "User Action 1"

Now that gamepad button plays the card audio on your phone. You can add userJs2, userJs3, etc. for more custom actions.

The keydown listener (desktop) and the userJs function (mobile) can live in the same template. They don't interfere with each other.

Requirements

  • Anki 2.1.66+
  • Any gamepad recognised as a standard controller by your OS

Credits

Based on concepts from Contanki by Sam Bradshaw (MIT License).