mirror of https://github.com/stella-emu/stella.git
Typo.
This commit is contained in:
parent
a5cb517280
commit
31260facef
|
@ -64,7 +64,7 @@ Keyboard::ColumnState Keyboard::processColumn(const Event::Type buttons[]) {
|
||||||
for (uInt8 i = 0; i < 4; i++)
|
for (uInt8 i = 0; i < 4; i++)
|
||||||
if (myEvent.get(buttons[i]) && getPin(signals[i])) return ColumnState::vcc;
|
if (myEvent.get(buttons[i]) && getPin(signals[i])) return ColumnState::vcc;
|
||||||
|
|
||||||
return ColumnState::notConneccted;
|
return ColumnState::notConnected;
|
||||||
}
|
}
|
||||||
|
|
||||||
Int32 Keyboard::columnStateToAnalogSignal(ColumnState state) const {
|
Int32 Keyboard::columnStateToAnalogSignal(ColumnState state) const {
|
||||||
|
@ -75,7 +75,7 @@ Int32 Keyboard::columnStateToAnalogSignal(ColumnState state) const {
|
||||||
case ColumnState::vcc:
|
case ColumnState::vcc:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case ColumnState::notConneccted:
|
case ColumnState::notConnected:
|
||||||
return INTERNAL_RESISTANCE;
|
return INTERNAL_RESISTANCE;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -64,7 +64,7 @@ class Keyboard : public Controller
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum class ColumnState {
|
enum class ColumnState {
|
||||||
vcc, gnd, notConneccted
|
vcc, gnd, notConnected
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue