mrsafalpiya / nokia-keypad

A simple emulator of the old nokia keypad.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nokia Keypad

Demo

asciicast

Prerequisites

  • ncurses
  • xclip (to copy the output)

Installation

Make sure you have all the prerequisites listed above.

Then simply run

make release

Or make to include debug flags too.

Keybinds

Keypad

  • 0 - . , 0
  • 1 - * # 1
  • 2 - A B C 2
  • 3 - D E F 3
  • 4 - G H I 4
  • 5 - J K L 5
  • 6 - M N O 6
  • 7 - P Q R S 7
  • 8 - T U V 8
  • 9 - W X Y Z 9

Non-Keypad

  • Backspace - Delete the character on the cursor.
  • c - Clear the output buffer.
  • y - Copy the output buffer to clipboard.
  • # - Toggle case sensitivity.
  • q - Quit the program.

Bugs

  • Broken display on window resize.
  • getch() for the input character can no longer catch a real getch error after a signal handling.

About

A simple emulator of the old nokia keypad.

License:The Unlicense


Languages

Language:C 90.3%Language:Makefile 9.7%