From 2877fcc72a7cf6df8d1b4bcb6c1e306ca2bfa98c Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 28 Jun 2021 21:34:20 +0800 Subject: [PATCH] emulation: correctly wire keyboard inject interrupt This interrupt was wired to the incorrect variable. Signed-off-by: Sean Cross --- emulation/peripherals/keyboard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulation/peripherals/keyboard.cs b/emulation/peripherals/keyboard.cs index 50259c749..c57062434 100644 --- a/emulation/peripherals/keyboard.cs +++ b/emulation/peripherals/keyboard.cs @@ -96,7 +96,7 @@ namespace Antmicro.Renode.Peripherals.Input Registers.EV_ENABLE.Define32(this) .WithFlag(0, out irqKeyPressedEnabled, name: "KEYPRESSED", changeCallback: (_, __) => UpdateInterrupts()) - .WithFlag(1, out irqKeyPressedEnabled, name: "INJECT", changeCallback: (_, __) => UpdateInterrupts()) + .WithFlag(1, out irqInjectEnabled, name: "INJECT", changeCallback: (_, __) => UpdateInterrupts()) ; Registers.ROWCHANGE.Define(this) .WithValueField(0, 32, valueProviderCallback: _ => { return this.rowChange; })