RafaelBarbosatec / bonfire

(RPG maker) Create RPG-style or similar games more simply with Flame.
https://bonfire-engine.github.io
MIT License
1.22k stars 188 forks source link

Can KeyboardConfig only select one option? wasd or arrows ? #507

Closed devchenli closed 5 months ago

devchenli commented 5 months ago

How can we help?

keyboardConfig: KeyboardConfig( directionalKeys: KeyboardDirectionalKeys.arrows(), acceptedKeys: [ LogicalKeyboardKey.space, ], ),

How to set up support for both KeyboardDirectionKeys. arrows() and KeyboardDirectionKeys. wasd() ?

RafaelBarbosatec commented 5 months ago

Hi @devchenli ! Thanks for this question. It's a good point. It's not possible at the moment. I'll enable this in next release.