GithubHelp home page GithubHelp logo

glutanimate / anjoy-public Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 198 KB

Temporary repository to host bug reports and documentation for the AnJoy Anki add-on

Home Page: https://www.patreon.com/glutanimate/posts?tag=AnJoy

anki anki-addon

anjoy-public's People

Contributors

glutanimate avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anjoy-public's Issues

Improve support for Nintendo Switch Pro Controller

Problem description

I'm trying to use this with my Nintendo Switch Pro Controller. It seems to be supported, but seems to only connect when I have it plugged in via USB but doesn't connect on bluetooth (usually have to plug & unplug to connect on bluetooth) As soon as i start Anki and plug my controller in, it starts going through the cards rapid fire without me giving any input.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [x ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

===ANKI===

Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=1

Add-ons:

Speed Focus Mode auto-alert auto-reveal auto-fail
Image Occlusion Enhanced for Anki 21 alpha
Night Mode
Media Import
Pop-up Dictionary beta
Hierarchical Tags Addon 20  21
Progress Bar
Button Colours Good Again
Progress Graphs and Stats for Learned and Matured Cards
Edit Field During Review Cloze (disabled)
True Retention
Advanced Browser
AnJoy
Review Heatmap


===ANJOY===

version: 0.1.0-beta.1
[
    {
        "id": "Pro Controller (Vendor: 057e Product: 2009)",
        "index": 0,
        "connected": true,
        "timestamp": 148907.29999999894,
        "mapping": "",
        "axes": [
            0,
            0,
            0,
            0,
            0.060044288635253906,
            0,
            0,
            0,
            0,
            0
        ],
        "buttons": [
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            }
        ],
        "vibrationActuator": null
    },
    null,
    null,
    null,
    4,
    "function item() { [native code] }"
]

Index: 0
If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:


Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: macOS Catalina
  • version: 10.15

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

Start, select, vendor and stick buttons not working on xbox one bluetooth controller

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [x ] I've restarted Anki to see if it helps
  • [ x] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ x] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [x ] I've tried to disable other add-ons to see if there are any interactions present
  • [ x] My issue disappears when I hold shift while starting Anki.
  • [ x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

Version 2.1.14 (7b93e985)

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=2

Add-ons:

Extended Card Stats During Review (disabled)
Edit Field During Review (disabled)
ReMemorize Ex Rated0Search (disabled)
Special Fields
ImageResizer (disabled)
Image Occlusion Enhanced for Anki 21 alpha (disabled)
Deck Stats (disabled)
GODMODE faster shortcuts and Cloze switching
Pop-up Dictionary beta
More Decks Stats and Time Left
Copy notes (disabled)
Large and Colorful Buttons
Hint Hotkeys
Zoom 21
Fastbar another toolbar for Anki 21 beta (disabled)
Customize Sidebar
AnkiConnect (disabled)
Progress Bar (disabled)
Quick Colour Changing (disabled)
Button Colours Good Again (disabled)
Progress Graphs and Stats for Learned and Matured Cards (disabled)
Quick tagging 21 (disabled)
ReMemorize Rescheduler with sibling and logging v114
Clickable Tags v10
Improved Quizlet to Anki 21 Importer (disabled)
True Retention
Syllabus - Anki Statistics and Export by Tag and Deck (disabled)
Life Drain
Free Weekend - or Any Other Day (disabled)
Create Filtered Deck from the Browser
Advanced Browser
Enhance main window (disabled)
AnJoy
bettertags
Cloze Overlapper (disabled)
PDF Glossary Exporter (disabled)
ReMemorize Buttons
Review Heatmap
Speed Focus Mode auto-alert auto-reveal auto-pass - ANKING
Night Mode
If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:


Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Mac
  • version: 10.15 catalina

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

Screen Shot 2019-10-13 at 2 58 33 PM

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

Add on debug:

===ANKI===

Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=2

Add-ons:

Extended Card Stats During Review (disabled)
Edit Field During Review (disabled)
ReMemorize Ex Rated0Search (disabled)
Special Fields
ImageResizer (disabled)
Image Occlusion Enhanced for Anki 21 alpha (disabled)
Deck Stats (disabled)
GODMODE faster shortcuts and Cloze switching
Pop-up Dictionary beta
More Decks Stats and Time Left
Copy notes (disabled)
Large and Colorful Buttons
Hint Hotkeys
Zoom 21
Fastbar another toolbar for Anki 21 beta (disabled)
Customize Sidebar
AnkiConnect (disabled)
Progress Bar (disabled)
Quick Colour Changing (disabled)
Button Colours Good Again (disabled)
Progress Graphs and Stats for Learned and Matured Cards (disabled)
Quick tagging 21 (disabled)
ReMemorize Rescheduler with sibling and logging v114
Clickable Tags v10
Improved Quizlet to Anki 21 Importer (disabled)
True Retention
Syllabus - Anki Statistics and Export by Tag and Deck (disabled)
Life Drain
Free Weekend - or Any Other Day (disabled)
Create Filtered Deck from the Browser
Advanced Browser
Enhance main window (disabled)
AnJoy
bettertags
Cloze Overlapper (disabled)
PDF Glossary Exporter (disabled)
ReMemorize Buttons
Review Heatmap
Speed Focus Mode auto-alert auto-reveal auto-pass - ANKING
Night Mode

===ANJOY===

version: 0.1.0-beta.1
[
{
"id": "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 02fd)",
"index": 0,
"connected": true,
"timestamp": 187924.70000000004,
"mapping": "standard",
"axes": [
0,
0,
0.07774472236633301,
0.004348874092102051
],
"buttons": [
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
}
],
"vibrationActuator": null
},
{
"id": "Xbox Wireless Controller (STANDARD GAMEPAD)",
"index": 1,
"connected": true,
"timestamp": 192092.4,
"mapping": "standard",
"axes": [
0,
0,
0,
0
],
"buttons": [
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
}
],
"vibrationActuator": null
},
null,
null,
4,
"function item() { [native code] }"
]

Index: 1

Mocute 032 VR controller not supported

Hi there.

Problem description

This controller is not supported in AnJoy, althougth it's detected in https://gamepad-tester.com/

Checklist

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Anki version:
Version 2.1.26 (70784154)
Python 3.8.0 Qt 5.14.1 PyQt 5.14.1

If you are using Anki 2.1

Debug info frrom Anki

    
    Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2020-07-22 08:57:31
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['review_heatmap', 0, 'None', '']
    Add Table ['1237621971', 2020-04-27T21:52, 'None', mod]
    Advanced Browser ['874215009', 2020-04-22T23:45, 'None', '']
    AnkiConnect ['2055492159', 2020-07-12T20:54, 'None', '']
    Batch Editing ['291119185', 2019-09-29T20:18, 'None', '']
    Button Colours Good Again ['2494384865', 2020-02-09T14:11, 'None', '']
    Card Info During Review ['2179254157', 2020-07-09T01:06, 'None', '']
    Cloze Overlapper ['cloze_overlapper', 2019-02-01T12:37, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2020-02-12T21:37, 'None', '']
    Customize Sidebar ['1988760596', 2020-02-09T14:24, 'None', mod]
    External Note Editor for the Browser ['browser_external_note_editor', 2020-03-10T17:42, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T03:21, 'None', '']
    Mini Format Pack ['295889520', 2020-02-09T10:55, 'None', '']
    Night Mode ['1496166067', 2020-02-04T18:09, 'None', '']
    No Distractions Full Screen Clean review interface  TabletTouch support ['1049863218', 2020-04-26T02:47, 'v4.1.6', mod]
    Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-03-29T07:26, 'None', '']
    Puppy Reinforcement ['puppy_reinforcement', 2020-03-02T19:22, 'None', mod]
    Quick Field Navigation ['734297936', 2020-02-11T19:25, 'None', '']
    Quick note and deck buttons Fork for 21 ['1331140127', 2020-07-13T19:54, 'None', mod]
    Search Everywhere - Ctrl+F Find ['search_everywhere', 2020-03-31T21:13, 'None', '']
    Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-10-09T09:18, 'None', '']
    Toggle Tags via ReviewerEditorBrowser Context Menu ['2088508994', 2020-02-07T22:14, 'None', '']
    True Retention by Card Maturity Simplified ['1779060522', 2020-06-28T14:45, 'None', '']
    extended editor for field for tables searchreplace  ['805891399', 2020-06-08T10:35, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1046608507 1049863218 1237621971 1331140127 1374772155 1496166067 1779060522 1988760596 2055492159 2088508994 2179254157 2494384865 266436365 291119185 295889520 734297936 805891399 861263371 874215009
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AnJoy ['anjoy', 2019-07-31T22:02, 'None', mod]
    BetterTags ['bettertags', 2020-04-28T16:40, 'None', '']
    Blitzkrieg II - Advanced Browser Sidebar BETA8 ['564851917', 2020-04-17T04:53, 'None', '']
    Clickable Tags v20 Anki 2120 support ['1739176371', 2020-03-13T15:16, 'None', '']
    Edit Field During Review Cloze ['385888438', 2020-06-11T13:32, 'None', '']
    Enhance main window ['877182321', 2020-05-03T17:58, 'None', '']
    Fastbar- with nightmode support ['46611790', 2020-03-20T14:34, 'None', '']
    Frozen Fields ['516643804', 2020-04-08T17:51, 'None', '']
    HoochieBaby Queue Controller  Day-Lrn Q ['1847358755', 2020-04-25T04:16, 'None', '']
    HoochieMama Randomize Rev Queue ['1460733408', 2020-06-03T14:17, 'None', '']
    HoochiePapa Randomize New Queue ['1173108619', 2020-04-25T04:17, 'None', '']
    ImageResizer ['1214357311', 2020-02-19T18:18, 'None', '']
    Maximum image height and width in card editor ['229181581', 2020-02-20T08:10, 'None', '']
    Progress Bar ['2091361802', 2019-04-22T16:43, 'None', '']
    Regex Search DEPRECATED ['2044559350', 2020-02-09T17:49, 'None', '']
    Resize images in editor ['1103084694', 2020-05-18T20:29, 'None', mod]
    SerenityNow ['254576101', 2019-04-30T18:35, 'None', '']
    TagSelectorV2 ['1022577188', 2020-02-09T16:02, 'None', '']
    True Retention ['613684242', 2019-04-30T18:18, 'None', '']

Debug Info from AnJoy:

===ANKI===

Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-07-22 08:57:31

Add-ons:

TagSelectorV2 (disabled)
Speed Focus Mode auto-alert auto-reveal auto-fail
No Distractions Full Screen Clean review interface  TabletTouch support
Resize images in editor (disabled)
HoochiePapa Randomize New Queue (disabled)
ImageResizer (disabled)
Add Table
Quick note and deck buttons Fork for 21
Image Occlusion Enhanced for Anki 21 alpha
HoochieMama Randomize Rev Queue (disabled)
Night Mode
Clickable Tags v20 Anki 2120 support (disabled)
True Retention by Card Maturity Simplified
HoochieBaby Queue Controller  Day-Lrn Q (disabled)
Customize Sidebar
Regex Search DEPRECATED (disabled)
AnkiConnect
Toggle Tags via ReviewerEditorBrowser Context Menu
Progress Bar (disabled)
Card Info During Review
Maximum image height and width in card editor (disabled)
Button Colours Good Again
SerenityNow (disabled)
Progress Graphs and Stats for Learned and Matured Cards
Batch Editing
Mini Format Pack
Edit Field During Review Cloze (disabled)
Fastbar- with nightmode support (disabled)
Frozen Fields (disabled)
Blitzkrieg II - Advanced Browser Sidebar BETA8 (disabled)
True Retention (disabled)
Quick Field Navigation
extended editor for field for tables searchreplace 
Create Filtered Deck from the Browser
Advanced Browser
Enhance main window (disabled)
AnJoy
BetterTags (disabled)
External Note Editor for the Browser
Cloze Overlapper
Puppy Reinforcement
review_heatmap
Search Everywhere - Ctrl+F Find


===ANJOY===

version: 0.1.0-beta.1
[
    {
        "id": "Gamepad  (Vendor: ffff Product: 0000)",
        "index": 0,
        "connected": true,
        "timestamp": 385194.7700000019,
        "mapping": "",
        "axes": [
            0.003921627998352051,
            0.003921627998352051,
            0.003921627998352051,
            -1,
            -1,
            0.003921627998352051,
            0,
            0,
            0,
            3.2857141494750977
        ],
        "buttons": [
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            },
            {
                "pressed": false,
                "touched": false,
                "value": 0
            }
        ],
        "vibrationActuator": null
    },
    {
        "id": "Unknown Gamepad (Vendor: 04f3 Product: 002f)",
        "index": 1,
        "connected": true,
        "timestamp": 22377.955000003567,
        "mapping": "",
        "axes": [
            0,
            0
        ],
        "buttons": [],
        "vibrationActuator": null
    },
    null,
    null,
    4,
    "function item() { [native code] }"
]

Index: 1

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Windows 10
  • version:

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
image

High CPU load when switching through decks on main screen

Problem description

I get high CPU load when I use the Up / Down keys on the gamepad to navigate through the list of decks on the main screen. It's only for about a second, but when I navigate through about 10 decks the fans start spinning, also it makes navigating a bit slow. So I was wondering what's going on in the background.

Checklist

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from Patreon
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1
Anki 2.1.49 (a9bffadc) Python 3.9.9 Qt 5.15.2 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=True sv=2
Add-ons, last update check: 2021-12-16 08:58:35

PS4 Error upon selecting "study now" button

Error

Debug info:
Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-09-18 10:41:37
Add-ons possibly involved: ⁨AnJoy⁩

Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 36, in cmd
File "aqt/webview.py", line 135, in _onCmd
File "/Users/brianl/Library/Application Support/Anki2/addons21/anjoy/gamepad.py", line 90, in _onBridgeCmd
func(*args)
File "/Users/brianl/Library/Application Support/Anki2/addons21/anjoy/gamepad.py", line 166, in buttonPressed
func()
File "/Users/brianl/Library/Application Support/Anki2/addons21/anjoy/actions.py", line 199, in studyDeck
mw.moveToState("review")
File "aqt/main.py", line 653, in moveToState
File "aqt/main.py", line 675, in _reviewState
File "aqt/reviewer.py", line 73, in show
File "aqt/reviewer.py", line 93, in nextCard
File "anki/collection.py", line 726, in timeboxReached
AttributeError: 'Collection' object has no attribute '_startTime'

Initially, the Debug info identified the possible at fault add-on as: "Web Browser - Search terms, Import texts and images automatically". Only after disabling that add-on did the Debug identify Anjoy. Prior to installing Anjoy there were no issues.

Central Buttons on Xbox Controller not working in MacOS Catalina Update

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [X ] I've restarted Anki to see if it helps
  • [X ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [X ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

===ANKI===

Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=1

Add-ons:

AMBOSS add-on
Edit Field During Review
Special Fields
Pretzel Logic Retention Benchmarking
ImageResizer (disabled)
Image Occlusion Enhanced for Anki 21 alpha
load balancer (disabled)
Symbols
Night Mode
Pop-up Dictionary beta
More Decks Stats and Time Left
Image Style Editor
Hint Hotkeys
Fastbar another toolbar for Anki 21 beta
Export cards selected in the Browser
Customize Sidebar
Five Finger Silver New Answer Button Graph ReLrn Stats ReMemorize Plan9-0
Card Info During Review
Highlight Search Results in the Browser
Maximum image height in card editor
Customize Keyboard Shortcuts
Button Colours Good Again
Progress Graphs and Stats for Learned and Matured Cards
Batch Editing
Mini Format Pack
Add Hyperlink
ReMemorize Rescheduler with sibling and logging v121
Clickable Tags v10
Separate Learn and Relearn in the Answer Buttons graph 21 (disabled)
Allows empty first field during adding and import (disabled)
Ease Factor Histogram
Frozen Fields
add-on window search bar
True Retention (disabled)
More Overview Stats 21
Free Weekend - or Any Other Day
Create Filtered Deck from the Browser
Web Browser - Search selection Import texts and images automatically
Advanced Browser
Correct Answers Graph
AnJoy
bettertags
Cloze Overlapper
Review Heatmap
Spell Checker


===ANJOY===

version: 0.1.0-beta.1
[
    {
        "id": "Xbox Wireless Controller (STANDARD GAMEPAD Vendor: 045e Product: 02fd)",
        "index": 0,
        "connected": true,
        "timestamp": 14955090.4,
        "mapping": "standard",
        "axes": [
            -0.0032501816749572754,
            0.07869076728820801,
            0.050064802169799805,
            0.037796616554260254
        ],
        "buttons": [
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            }
        ],
        "vibrationActuator": null
    },
    {
        "id": "Xbox Wireless Controller (STANDARD GAMEPAD)",
        "index": 1,
        "connected": true,
        "timestamp": 15280058.400000002,
        "mapping": "standard",
        "axes": [
            0,
            0,
            0,
            0
        ],
        "buttons": [
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            }
        ],
        "vibrationActuator": null
    },
    null,
    null,
    4,
    "function item() { [native code] }"
]

Index: 1
If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:


Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: MacOS Catalina
  • version: 10.15

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

PS4 Controller connected via Bluetooth but Anki not responding to buttons: Incorrected Gamepad type identified by Anki?

Problem description

I was able to use Anki with my PS4 controller last week. Today Anki recognises the controller as Connected, but it doesn't say it is a PS4 controller (rather it says "Connected: STANDARD GAMEPAD Vendor 054c Product 09cc"). And there is no response when I press any of the gamepad buttons.

My PS4 gamepad controller is recognised on https://html5gamepad.com/
I have restarted Anki, disconnected/reconnected the bluetooth gamepad connection, reinstalled AnJoy and updated DS4Windows. All without success.

I believe the problem might be that Anjoy thinks I am using an Xbox controller rather than a PS4 controller - in the Anjoy Settings window, an Xbox controller is shown, and certainly in the bug report attached below there are a lot of "false" and zero values. Is there a way to deliberately select your controller (ie PS4 controller) and over-ride the automatic selection of Xbox/Standard Gamepad controller.

Thanks for your assistance.

disclaimer: I have no computer skills or training haha and I would love for your addon to work well and reliably for me!

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [ X] I've restarted Anki to see if it helps
  • [ X] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ X] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [X ] I've tried to disable other add-ons to see if there are any interactions present
  • [X ] My issue disappears when I hold shift while starting Anki.
  • [ X] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

If you are using Anki 2.1

===ANKI===

Anki 2.1.17 (c69ccb50) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1

Add-ons:

Edit Field During Review
Auto Markdown
No Distractions Full Screen No menus Floating answer buttons
Color Confirmation (disabled)
Image Occlusion Enhanced for Anki 21 alpha
load balancer
Night Mode (disabled)
Pop-up Dictionary beta
Full Screen Toggle
AnkiConnect
LPCG LyricsPoetry Cloze Generator
Progress Bar
Automatic Basic to Cloze
Duplicate Selected Notes
Customize Keyboard Shortcuts
Button Colours Good Again
Batch Editing
Mini Format Pack
Edit Field During Review Cloze (disabled)
Replay buttons on card
Frozen Fields
Hierarchical Tags 2 Anki 2117 support
True Retention
Pokemanki for both Anki 20 and 21
Polar Connect - PDF and Incremental Reading with Anki Sync (disabled)
AwesomeTTS Google Cloud Text-to-Speech unofficial
Incremental Reading v4103 (disabled)
AnJoy
Cloze Overlapper
Spell Checker

===ANJOY===

version: 0.1.0-beta.1
[
{
"id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)",
"index": 0,
"connected": true,
"timestamp": 436126.6450000001,
"mapping": "standard",
"axes": [
-0.0038910508155822754,
-0.027420520782470703,
-0.011734187602996826,
-0.011734247207641602
],
"buttons": [
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
}
],
"vibrationActuator": {
"type": "dual-rumble",
"playEffect": "function playEffect() { [native code] }",
"reset": "function reset() { [native code] }"
}
},
{
"id": "Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 09cc)",
"index": 1,
"connected": true,
"timestamp": 436123.79,
"mapping": "standard",
"axes": [
0,
0,
0,
0
],
"buttons": [
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": true,
"value": 0
},
{
"pressed": false,
"touched": true,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
},
{
"pressed": false,
"touched": false,
"value": 0
}
],
"vibrationActuator": {
"type": "dual-rumble",
"playEffect": "function playEffect() { [native code] }",
"reset": "function reset() { [native code] }"
}
},
null,
null,
4,
"function item() { [native code] }"
]

Index: 1

Error message (if any)

No error messages

Pause option when in speed focus mode

Maybe creating a key shortcut to a hot key would do the trick, but having an option like the other would be ideal. Thanks for all the hard work! Happy New Year!

Compatibility with Fortune Tech controller

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else asked this question before by looking through the issue reports.

Your question

Do you know if AnJoy is compatible with this Fortune Tech controller?
https://www.amazon.com/gp/product/B06XKPTMWZ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

AnJoy fails with "Renderer procress crash: GamepadMonitor::GamepadStartPolling fail"

On Anki versions 2.1.17-2.1.19, AnJoy will fail loading with the following (silent) error:

[7096:7205:0206/185020.625243:ERROR:render_process_host_impl.cc(4622)] Terminating render process for bad Mojo message: Received bad user message: GamepadMonitor::GamepadStartPolling faile
[7096:7205:0206/185020.625267:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 123

It looks like this is a Chromium regression that's present in Qt versions 5.13-5.14, but fixed in 5.14.1:

https://bugreports.qt.io/browse/QTBUG-81031

https://chromium-review.googlesource.com/c/chromium/src/+/1804379

A user-side fix will require Anki's pre-compiled builds to ship with Qt 5.14.1

Noname Controller does not work (recognized as XBOX 360 by Win10)

Hi,
I'm using a noname controller, which is registered by Win10 as a "Xbox 360 Controller for Windows" and I can use it without fourther installation or configuration. But it does not work with the addon. It gets recognized as "unknown gamepad", but no button work. I tested it in the html5gamepad website without any problems.

Here the debug info as requested:

===ANKI===

Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Add-ons:

ImageResizer
Add Table
Tag Entry Enhancements
Image Occlusion Enhanced Alpha for Anki 21
Search and Replace Tags
Symbols
Export in CSV format
Night Mode
Right Hand Answer Shortcuts (deaktiviert)
Hierarchical Tags Addon 20  21
Toggle Tags via ReviewerEditorBrowser Context Menu
Progress Bar
Card Info During Review (deaktiviert)
Customize Keyboard Shortcuts
Button Colours Good Again
Mini Format Pack
Reset Card Scheduling
Frozen Fields
Multiple Choice for Anki 21
Enhance main window
AnJoy


===ANJOY===

version: 0.1.0-beta.1
[
    {
        "id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)",
        "index": 0,
        "connected": true,
        "timestamp": 1392006.1999999452,
        "mapping": "standard",
        "axes": [
            0.0000152587890625,
            -0.0000152587890625,
            0.0000152587890625,
            -0.0000152587890625
        ],
        "buttons": [
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            },
            {
                "pressed": false,
                "value": 0
            }
        ],
        "vibrationActuator": {
            "type": "dual-rumble",
            "playEffect": "function playEffect() { [native code] }",
            "reset": "function reset() { [native code] }"
        }
    },
    {
        "id": "Unknown Gamepad (Vendor: 06cb Product: 7a13)",
        "index": 1,
        "connected": true,
        "timestamp": 1774.6999999508262,
        "mapping": "",
        "axes": [
            0,
            0
        ],
        "buttons": [
            {
                "pressed": false,
                "value": 0
            }
        ],
        "vibrationActuator": null
    },
    null,
    null,
    4,
    "function item() { [native code] }"
]

Index: 1

Hope I could help.

Improve support for 8bitdo SNES controllers

This issue report tracks the progress in adding full compatibility for 8bitdo SNES controllers.

Current issues:

  • 8bitdo controllers map the D-Pad to the x- and y-axis, so there is no way to assign the dpad to anything other than the current axis actions (should be addressed by #3)
  • because the 8-bitdo D-Pad is not pressure sensitive, the gamepad always receives maximum deviation events, which makes scrolling too fast. Adding axis sensitivity as in #2 should fix that

Debug information

Sample layout of an 8bitdo SNES bluetooth controller (thanks to Omar for his help in elucidating this info!):

unknown

Option to assign more buttons (es. rememorize buttons)

For example, i have 5 more buttons than usual that are assigned to 5, 6, 7, 8, 9. Right now i can't use them with anjoy and i'm obliged to use joytokey (that works fine but i would like to be able to use this addon natively). At the same time there are lots of addons that use custom keyboard shortcuts that i would like to be able to use, so it would be cool to able to assign a custom combination on every button, otherwise if it is too difficult it still would be cool to be able to assign a number

Gamepad recognition fails when multiple (erroneous) gamepads registered

At the moment, AnJoy will try to recognize the most recently connected gamepad and monitor it for input events. Unfortunately this detection seems to fail when there are multiple gamepads present on the system. This is exacerbated by the fact that Chromium will seemingly recognize HID devices as gamepads that a user would normally not expect it to, such as some touchpads (?), keyboards, or even notebook docks.

A series of debug logs of affected users follows below, illustrating the different types of input devices that are erroneously registered as gamepads by Chromium, which causes AnJoy's somewhat simplistic gamepad selection implementation to fail (htm5gamepad seems to handle this more graciously):

Noname Xbox controller, recognized as Xbox 360 Controller for Windows

Debug log===ANKI=== Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Windows 10 Flags: frz=True ao=True sv=1 Add-ons: ImageResizer Add Table Tag Entry Enhancements Image Occlusion Enhanced Alpha for Anki 21 Search and Replace Tags Symbols Export in CSV format Night Mode Right Hand Answer Shortcuts (deaktiviert) Hierarchical Tags Addon 20 21 Toggle Tags via ReviewerEditorBrowser Context Menu Progress Bar Card Info During Review (deaktiviert) Customize Keyboard Shortcuts Button Colours Good Again Mini Format Pack Reset Card Scheduling Frozen Fields Multiple Choice for Anki 21 Enhance main window AnJoy ===ANJOY=== version: 0.1.0-beta.1 [ { "id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)", "index": 0, "connected": true, "timestamp": 1392006.1999999452, "mapping": "standard", "axes": [ 0.0000152587890625, -0.0000152587890625, 0.0000152587890625, -0.0000152587890625 ], "buttons": [ { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 }, { "pressed": false, "value": 0 } ], "vibrationActuator": { "type": "dual-rumble", "playEffect": "function playEffect() { [native code] }", "reset": "function reset() { [native code] }" } }, { "id": "Unknown Gamepad (Vendor: 06cb Product: 7a13)", "index": 1, "connected": true, "timestamp": 1774.6999999508262, "mapping": "", "axes": [ 0, 0 ], "buttons": [ { "pressed": false, "value": 0 } ], "vibrationActuator": null }, null, null, 4, "function item() { [native code] }" ] Index: 1

Original XBOX One S controller (bluetooth)

  • Submitter: Noah (email)
  • System: Windows 10 on a Surface book 2
Debug logAnki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Add-ons:

Edit Field During Review
Special Fields
put ALL due learning cards first fork for 21
Image Occlusion Enhanced for Anki 21 alpha
Symbols
Night Mode
Pop-up Dictionary beta
More Decks Stats and Time Left
Export cards selected in the Browser
Customize Sidebar
Progress Bar
Highlight Search Results in the Browser
Customize Keyboard Shortcuts
Button Colours Good Again
Progress Graphs and Stats for Learned and Matured Cards
Batch Editing
Mini Format Pack
Add Hyperlink
ReMemorize Rescheduler with sibling and logging v114
Frozen Fields
add-on window search bar
True Retention
Syllabus - Anki Statistics and Export by Tag and Deck
More Overview Stats 21
Create Filtered Deck from the Browser
Web Browser - Search selection Import texts and images automatically
AnJoy
bettertags
Review Heatmap
Spell Checker

===ANJOY===

version: 0.1.0-beta.1
[
{
"id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)",
"index": 0,
"connected": true,
"timestamp": 94775.90000000055,
"mapping": "standard",
"axes": [
0.060929298400878906,
0.06849777698516846,
0.047898054122924805,
0.07328909635543823
],
"buttons": [
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
}
],
"vibrationActuator": {
"type": "dual-rumble",
"playEffect": "function playEffect() { [native code] }",
"reset": "function reset() { [native code] }"
}
},
{
"id": "Surface Dock Extender (Vendor: 045e Product: 0904)",
"index": 1,
"connected": true,
"timestamp": 1606.4000000042142,
"mapping": "",
"axes": [
0,
0,
0
],
"buttons": [],
"vibrationActuator": null
},
{
"id": "Unknown Gamepad (Vendor: 045e Product: 0951)",
"index": 2,
"connected": true,
"timestamp": 1707.0999999996275,
"mapping": "",
"axes": [
0,
0
],
"buttons": [],
"vibrationActuator": null
},
{
"id": "Surface Keyboard (Vendor: 045e Product: 0922)",
"index": 3,
"connected": true,
"timestamp": 1707.0999999996275,
"mapping": "",
"axes": [
0,
0,
0
],
"buttons": [],
"vibrationActuator": null
},
4,
"function item() { [native code] }"
]

Index: 3

Original PS4 DS4 controller (bluetooth)

  • Submitter: Noah (email)
  • System: Windows 10 on a Surface book 2
Debug log The debug info: ===ANKI===

Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Add-ons:

Edit Field During Review
Special Fields
put ALL due learning cards first fork for 21
Image Occlusion Enhanced for Anki 21 alpha
Symbols
Night Mode
Pop-up Dictionary beta
More Decks Stats and Time Left
Export cards selected in the Browser
Customize Sidebar
Progress Bar
Highlight Search Results in the Browser
Customize Keyboard Shortcuts
Button Colours Good Again
Progress Graphs and Stats for Learned and Matured Cards
Batch Editing
Mini Format Pack
Add Hyperlink
ReMemorize Rescheduler with sibling and logging v114
Frozen Fields
add-on window search bar
True Retention
Syllabus - Anki Statistics and Export by Tag and Deck
More Overview Stats 21
Create Filtered Deck from the Browser
Web Browser - Search selection Import texts and images automatically
AnJoy
bettertags
Review Heatmap
Spell Checker

===ANJOY===

version: 0.1.0-beta.1
[
{
"id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)",
"index": 0,
"connected": true,
"timestamp": 704860.6999999974,
"mapping": "standard",
"axes": [
-0.0038910508155822754,
-0.019577383995056152,
0.035294175148010254,
-0.027420520782470703
],
"buttons": [
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
}
],
"vibrationActuator": {
"type": "dual-rumble",
"playEffect": "function playEffect() { [native code] }",
"reset": "function reset() { [native code] }"
}
},
{
"id": "Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 09cc)",
"index": 1,
"connected": true,
"timestamp": 704853.6000000022,
"mapping": "standard",
"axes": [
-0.019607841968536377,
-0.003921568393707275,
0.011764764785766602,
-0.003921568393707275
],
"buttons": [
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
},
{
"pressed": false,
"value": 0
}
],
"vibrationActuator": {
"type": "dual-rumble",
"playEffect": "function playEffect() { [native code] }",
"reset": "function reset() { [native code] }"
}
},
{
"id": "Surface Dock Extender (Vendor: 045e Product: 0904)",
"index": 2,
"connected": true,
"timestamp": 126.29999999626307,
"mapping": "",
"axes": [
0,
0,
0
],
"buttons": [],
"vibrationActuator": null
},
{
"id": "Unknown Gamepad (Vendor: 045e Product: 0951)",
"index": 3,
"connected": true,
"timestamp": 229.89999999845168,
"mapping": "",
"axes": [
0,
0
],
"buttons": [],
"vibrationActuator": null
},
4,
"function item() { [native code] }"
]

Index: 3


Ability to deselect certain controllers without having to disable the add-on

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

At home, I use my xbox controller but while travelling I use a small, generic bluetooth remote that is not suitable for AnJoy which I'd rather use mapped with other software. Unfortunately, Anjoy will automatically connect to it meaning that I have to open anki, disable the add-on and restart Anki. This is not a big deal but does act as a small obstacle before studying.

Solution

A button to natively turn-off Anjoy or, ideally, deselect a specific controller.

Issue with loading config on 2.1.38

Problem description

I installed the AddOn using the file through Patreon. When I try to use the Config option through the Tools - AddOns, it loads the Config screen but I am unable to interact with it. I then also cannot close the screen or clock Anki, requiring that I force quit Anki.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • [no] My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

    
    Anki 2.1.38 (355e4cd5) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
    Platform: Linux
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2021-01-13 21:16:43
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AnJoy ['anjoy', 2019-07-31T16:02, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['popup_dictionary', 0, 'None', mod]
    Add Hyperlink ['318752047', 2020-07-29T15:37, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2020-09-20T06:50, 'None', mod]
    Advanced Browser ['874215009', 2020-11-08T05:03, 'None', '']
    Anki Simulator ['817108664', 2020-07-21T09:17, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T19:20, 'v1.1.3', '']
    Batch Editing ['291119185', 2019-09-19T12:04, 'None', '']
    BetterSearch ['1052724801', 2020-10-25T15:49, 'None', mod]
    Browser Resizer ['1435775540', 2020-09-07T21:04, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2020-07-07T18:44, 'None', mod]
    Card browser List only one card per note ['797076357', 2020-08-10T23:23, 'None', mod]
    Clickable Tags v20 Anki 2120 support ['1739176371', 2020-03-13T09:25, 'None', '']
    Convert Subdecks to Tag Hierarchy ['1172858842', 2020-02-23T16:03, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2019-03-01T21:14, 'None', '']
    Customize Keyboard Shortcuts ['24411424', 2020-12-27T00:04, 'None', mod]
    Customize Sidebar ['1988760596', 2020-01-16T16:12, 'None', mod]
    Edit Field During Review Cloze ['385888438', 2020-12-17T02:42, 'None', mod]
    Extended Card Stats During Review ['1008566916', 2017-08-29T13:59, 'None', '']
    Extended Tag AddEdit Dialog ['1135507717', 2020-06-30T08:46, 'None', mod]
    Fastbar- with nightmode support ['46611790', 2020-03-20T09:34, 'None', '']
    Free Weekend - or Any Other Day ['742185195', 2020-04-10T06:57, 'None', mod]
    Frozen Fields ['516643804', 2020-02-29T22:12, 'None', '']
    Hierarchical Tags 2 ['594329229', 2020-04-11T11:36, 'None', '']
    High Yield Tags ['1918380616', 2020-06-30T15:35, 'None', mod]
    Highlight Search Results in the Browser ['225180905', 2019-03-02T17:36, 'None', '']
    Hint Hotkeys ['1844908621', 2019-02-26T12:58, 'None', '']
    Image Editor ['307397307', 2020-07-06T02:10, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T21:21, 'None', '']
    Image Style Editor ['1593969147', 2020-12-17T07:06, 'None', mod]
    ImageResizer ['1214357311', 2020-12-18T08:01, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-12-28T16:40, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2020-03-31T15:19, 'None', mod]
    More Overview Stats 21 ['738807903', 2020-12-03T17:53, 'None', mod]
    Placeholder - The KING of Study Timers ignore this  do NOT download this now ['907028815', 2020-04-25T14:57, 'None', '']
    Quick Colour Changing ['2491935955', 2019-03-02T20:26, 'None', mod]
    ReMemorize Rescheduler with sibling and logging v142 ['323586997', 2020-11-19T23:27, 'None', mod]
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-19T23:40, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2019-03-04T12:20, 'None', '']
    Resize images in editor ['1103084694', 2020-12-30T06:48, 'None', mod]
    Review Heatmap ['review_heatmap', 2020-04-30T08:23, 'None', '']
    Special Fields ['1102281552', 2021-01-12T17:35, 'None', mod]
    Speed Focus Mode auto-alert auto-reveal auto-fail/good ['1046608507', 2019-06-02T04:11, 'None', '']
    Symbols As You Type ['2040501954', 2020-04-30T09:32, 'None', '']
    Symbols ['1461102936', 2019-04-23T08:37, 'None', mod]
    The KING of Button Add-ons ['374005964', 2020-04-17T17:33, 'None', mod]
    Web Browser - Search terms Import texts and images automatically ['864545277', 2020-08-29T13:23, 'None', mod]
    Wrapper meta-addon ['396502676', 2020-06-02T17:59, 'None', '']
    add-on dialog searchfilter bar ['561945101', 2020-05-08T08:16, 'None', '']
    when is next learning card due today due ['563204849', 2020-09-13T08:51, 'None', mod]

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: ChromeOS with Crostini Linux
  • version: Unknown

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

image

Error message (if any)

N/A

Reveal Hint does not work (QKeyEvent does not work)

Problem description

It seems that the "reveal hint" action does not work.
I would like to understand why, as I wish to add more registrable actions connected to keyboard shortcuts i.e. when I press a keyboard letter like "H" it reveals an image. It already works on my keyboard, I just cannot seem to assign this to the controller.

This is the code in the "actions.py":

@registerAction("Reveal Hint", "review")
def revealHint():
    evt = QKeyEvent(QEvent.KeyPress, Qt.Key_G, Qt.NoModifier)
    QCoreApplication.postEvent(mw, evt)

I tried to create this one following the same pattern:

@registerAction("Reveal image", "review")
def revealImage():
    evt = QKeyEvent(QEvent.KeyPress, Qt.Key_H, Qt.NoModifier)
    QCoreApplication.postEvent(mw, evt)

When I click on the assigned button, it shows me that I clicked on the "review hint" button, but nothing happens.

Checklist
Please replace the space inside the brackets with an x if the following items apply:

[X ] I've restarted Anki to see if it helps
[X ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
[X ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
[X ] I've tried to disable other add-ons to see if there are any interactions present
[ ] My issue disappears when I hold shift while starting Anki.
[X ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about my Anki set-up

Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-05-25 23:18:15


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['Anjoy', 0, 'None', mod]
AMBOSS add-on ['0amboss_addon', 2021-03-10T18:17, 'None', '']
Add Hyperlink ['318752047', 2020-07-29T22:37, 'None', '']
Add Table ['1237621971', 2020-07-25T14:19, 'None', mod]
Advanced Browser ['874215009', 2020-11-08T12:03, 'None', '']
Advanced Copy Fields ['1898445115', 2019-05-03T20:46, 'None', '']
Anki Simulator ['817108664', 2021-02-21T16:44, 'None', '']
AnkiOCR ['450181164', 2021-05-22T05:46, 'None', '']
Answer Confirmation for 21 ['1354051622', 2019-04-04T14:54, 'None', '']
BetterTags ['bettertags', 2020-04-28T17:40, 'None', '']
Change Card Creation Times ['217650262', 2019-03-05T03:59, 'None', '']
Copy notes ['1566928056', 2021-02-20T00:54, 'None', '']
Countdown To Events  Exams ['1143540799', 2021-03-04T20:14, 'None', '']
Create Filtered Deck from the Browser ['861263371', 2017-08-29T20:57, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2021-02-18T02:36, 'None', mod]
Duplicate Selected Notes ['2126361512', 2020-06-03T17:21, 'None', '']
Edit Field During Review Cloze ['385888438', 2020-12-17T09:42, 'None', mod]
Export in CSV format ['1478130872', 2019-01-21T19:21, 'None', '']
Frozen Fields ['516643804', 2020-06-03T17:02, 'None', '']
Highlight Search Results in the Browser ['225180905', 2021-03-10T18:06, 'None', '']
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T04:21, 'None', '']
Large and Colorful Buttons ['1829090218', 2018-10-02T19:41, 'None', '']
Mini Format Pack ['295889520', 2020-05-29T20:51, 'None', '']
More Decks Stats and Time Left ['1556734708', 2021-01-27T10:09, 'None', '']
More Overview Stats 21 ['738807903', 2021-02-05T18:35, 'None', '']
Pop-up Dictionary beta ['153625306', 2019-03-23T18:32, 'None', '']
ReMemorize Rescheduler with sibling and logging v142 ['323586997', 2020-11-20T06:27, 'None', mod]
Refocus Card when Reviewing 21 ['1642550423', 2018-09-19T16:14, 'None', '']
Resize images in editor ['1103084694', 2020-08-02T15:04, 'None', mod]
Review Heatmap ['review_heatmap', 2020-04-30T15:23, 'None', '']
Set Font Size ['651521808', 2020-03-25T10:03, 'None', mod]
Symbols As You Type ['2040501954', 2021-03-22T03:17, 'None', '']
Syntax Highlighting for Code ['1463041493', 2018-10-07T03:31, 'None', '']
True Retention ['613684242', 2017-11-19T21:43, 'None', '']
Web Browser - Search terms Import texts and images automatically ['864545277', 2020-08-29T20:23, 'None', mod]
extended editor for field for tables searchreplace  ['805891399', 2020-11-24T01:08, 'None', '']

===IDs of active AnkiWeb add-ons===
1103084694 1143540799 1237621971 1354051622 1374772155 1463041493 1478130872 153625306 1556734708 1566928056 1642550423 1829090218 1898445115 2040501954 2126361512 217650262 225180905 24411424 295889520 318752047 323586997 385888438 450181164 516643804 613684242 651521808 738807903 805891399 817108664 861263371 864545277 874215009

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Search and Replace Tags ['138501288', 2020-06-03T18:46, 'None', '']

Please fill in details about your operating system (Windows/macOS/Linux, which version):

Windows 10 64bit

I would gladly take your recommendations in order to fix this!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.