Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSD Custom Actions don't fire [4.9.11] #582

Closed
mtwomey opened this issue Aug 30, 2020 · 2 comments
Closed

OSD Custom Actions don't fire [4.9.11] #582

mtwomey opened this issue Aug 30, 2020 · 2 comments

Comments

@mtwomey
Copy link

mtwomey commented Aug 30, 2020

I've created a custom menu - but the items don't fire for some reason. First I tried creating with the inbuilt generator (via the GUI):

[{
    "name": "Choose", 
    "separator": true
}, {
    "action": "name('Say Hello', type('hello'))", 
    "icon": "system/keyboard", 
    "id": "item2", 
    "name": "Say Hello"
}, {
    "action": "name('Say Goodbye', type('goodbye'))", 
    "icon": "system/keyboard", 
    "id": "item3", 
    "name": "Say Goodbye"
}, {
    "action": "name('Test', button(KEY_T))", 
    "icon": "weapons/baseball-bat", 
    "id": "item4", 
    "name": "Test"
}]

Then I noticed that the default menus don't wrap the action in a name clause. So I hand build one:

[{
    "name": "Choose", 
    "separator": true
}, {
    "action": "type('hello')", 
    "icon": "system/keyboard", 
    "id": "item2", 
    "name": "Say Hello"
}, {
    "action": "type('goodbye')", 
    "icon": "system/keyboard", 
    "id": "item3", 
    "name": "Say Goodbye"
}, {
    "action": "button(KEY_T)", 
    "icon": "weapons/baseball-bat", 
    "id": "item4", 
    "name": "Test"
}]

In either case, nothing outputs when I make a menu selection.

@mtwomey
Copy link
Author

mtwomey commented Aug 31, 2020

Additional note, actions like "Turn off controller" do work, but it seems that actions the involved pressing a button on the controller or keyboard (or "type"ing) don't work.

@kozec
Copy link
Owner

kozec commented Oct 13, 2020

Fixed in latest pre-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants