Hi! First of all, thanks for this library, it's easy to use! :smiley:
Would it be possible to make Menu._ignore_keyboard_nonphysical a public attribute, or something we pass in to the Menu as a parameter (I'm not sure the best way to do it, but I can make a PR if you want!)
The reason is, in our project (Tuxemon), when using a controller we map everything into pygame keyboard events and pass those to pygame-menu. But if the attribute _ignore_keyboard_nonphysical is set to True, it checks to see if actual keyboard events are being generated - which they aren't, so the menu doesn't respond to the controller events.
We've set _ignore_keyboard_nonphysical = False , which fixes it - but it's probably best to make this changeable publicly, so we don't break something later on :smile:
Hi! First of all, thanks for this library, it's easy to use! :smiley:
Would it be possible to make Menu._ignore_keyboard_nonphysical a public attribute, or something we pass in to the Menu as a parameter (I'm not sure the best way to do it, but I can make a PR if you want!)
The reason is, in our project (Tuxemon), when using a controller we map everything into pygame keyboard events and pass those to pygame-menu. But if the attribute _ignore_keyboard_nonphysical is set to True, it checks to see if actual keyboard events are being generated - which they aren't, so the menu doesn't respond to the controller events.
We've set
_ignore_keyboard_nonphysical = False
, which fixes it - but it's probably best to make this changeable publicly, so we don't break something later on :smile: