Skip to content

Commit

Permalink
Merge pull request #1492 from theangelperalta/frontend/re-enable-supe…
Browse files Browse the repository at this point in the history
…r-key-modifier

Re-enable super key support in SDL2
  • Loading branch information
cxxxr authored Aug 20, 2024
2 parents 7df902d + 22487ea commit a8f4389
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontends/sdl2/keyboard.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
(loop :for c :across text
:do (let ((key (make-key :ctrl (modifier-ctrl *modifier*)
:meta (modifier-meta *modifier*)
;; :super (modifier-super *modifier*)
:super (modifier-super *modifier*)
:shift nil
:sym (convert-to-sym (char-code c)))))
(send-key-event key)))))
Expand All @@ -275,11 +275,12 @@
(or (not text-input-p)
(modifier-ctrl modifier)
(modifier-meta modifier)
(modifier-super modifier)
(< 256 code)))
(let ((key (make-key-with-shift-careful :shift (modifier-shift modifier)
:ctrl (modifier-ctrl modifier)
:meta (modifier-meta modifier)
;; :super (modifier-super modifier)
:super (modifier-super modifier)
:sym sym)))
(send-key-event key)))))))

Expand Down

0 comments on commit a8f4389

Please sign in to comment.