rust-console/gba

getting the keys is needlessly awkward

Closed this issue · 1 comments

right now to get the high-active keys you need to write

// type needed for `into` to know where to go
let keys: Keys = KEYINPUT.read().into();

We should make this a single function that does the right thing without the user needing to put a type on it.

in the current version we just have the getters/setters handle the negation internally, so you can read KEYINPUT directly and have a useful struct.