this out how i handle keys in 2048 game:
https://bitbucket.org/mihailp/tankfeeder/src/2f70061e8923fe1ac1af1bc7bce57e80fd664ba8/2048.l?at=default&fileviewer=file-view-default


On Thu, Jan 12, 2017 at 5:25 PM, dean <deangwillia...@gmail.com> wrote:

>
> ---------- Forwarded message ----------
> From: dean <deangwillia...@gmail.com>
> Date: 5 January 2017 at 15:55
> Subject: differentiate between pg_up vs pg_down keys and delete vs
> backspace keys
> To: picolisp@software-lab.de
>
>
> So far I've been doing (setq Key_you_want <whatever_you_get_from (key)>)
> and this has worked well but on the BSDs pgup/pgdown give the same code.
> What do I need to do in picolisp to differentiate between the two.
> BTW I've seen term.l but just want to use the keys...not their intended
> action.
> Happy New Year
> Dean
>
>

Reply via email to