From 22cf8edb1033d856fb3ef12831e0cfc5651af35b Mon Sep 17 00:00:00 2001 From: Apachedrag427 Date: Sat, 18 Feb 2023 12:40:23 -0600 Subject: [PATCH] Remove paste event --- Capy64/Runtime/EventEmitter.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Capy64/Runtime/EventEmitter.cs b/Capy64/Runtime/EventEmitter.cs index c171a72..83ca4ca 100644 --- a/Capy64/Runtime/EventEmitter.cs +++ b/Capy64/Runtime/EventEmitter.cs @@ -180,19 +180,6 @@ internal class EventEmitter if (e.Key == Keys.C) _runtime.QueueEvent("interrupt", LK => 0); } - else if (e.Key == Keys.V) - { - if (SDL.HasClipboardText()) - { - var text = SDL.GetClipboardText(); - _runtime.QueueEvent("paste", LK => - { - LK.PushString(text); - - return 1; - }); - } - } } }