boxer-project / boxer-sunrise

Sunrise on the Boxer Reconstruction Project
BSD 3-Clause "New" or "Revised" License
39 stars 2 forks source link

Convert keyboard strokes to an internal boxer struct for gestures #43

Open sgithens opened 2 years ago

sgithens commented 2 years ago

In the past various parts of Boxer would use the now deprecated common lisp function make-char to make a char instance that could included shifted bits such as a Control or Alt key. This is deprectated from list.

But also we use Lispworks keyboard gesture-spec in certain places to encode key strokes coming in.

In order to standardize our usage of these methods, and replace the deprecated make-char method, we'll create an internal gesture-spec type of structure to coerce all the above to.