Skip to content

BasicKeyMapper Missing Significant Portions of the Keyboard #34

@math0898

Description

@math0898

This occurs when pressing essentially anything besides w,a,s,d,up_arrow,down_arrow,left_arrow,right_arrow,enter.

To Reproduce:

  1. Utilize the BasicKeyMapper.
  2. Attempt inputting letters such as f,z,c,b.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "suga.engine.input.keyboard.KeyValue.getValue()" because "toReturn" is null
	at suga.engine.input.keyboard.BasicKeyMapper.convert(BasicKeyMapper.java:39)
	at suga.engine.input.keyboard.StackGameKeyListener.keyPressed(StackGameKeyListener.java:94)
	at java.desktop/java.awt.Component.processKeyEvent(Component.java:6579)
	at java.desktop/java.awt.Component.processEvent(Component.java:6398)
       // ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions