Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Have you modified or removed custom events, or added your own icon buttons to the screen? It looks like it's trying to find a pad event, and there isn't a match.

I don't believe I've removed any custom events, though I did make 4 new .svg button images for the m, n and p keys, as well as all the arrow keys together. Defined them in the controller_icons.rpy as well, this is the relevant code I've added for them there:
 

define icn.mute = IconButton("ToggleMute", ["m", "M"], _(""), "key_m")
define icn.arrowkeys = IconButton("", ["K_LEFT", "K_RIGHT", "K_UP", "K_DOWN"], _(""), "key_arrowkeys")
define icn.n = IconButton("", ["n", "N"], _(""), "key_n")
define icn.p = IconButton("", ["p", "P"], _(""), "key_p")

Ah, I see - none of those buttons have valid controller events. Thus, the game has no way to look up events associated with those buttons. IconButton is intended to have a mapping both for keyboard and for controller. If you just want to make a mouse & keyboard button with no controller equivalent, there's no need to use IconButton at all, since most of its conveniences are tied to picking the right icon set and allowing for remapping, none of which is offered for keyboard shortcuts. You can just make your own imagebutton with a keysym.