Skip to content

Commit

Permalink
Add missing part of the 89 case in ascii_to_key in tikey
Browse files Browse the repository at this point in the history
This fixes sending keypresses to the TI89T via cables other than
the USB DirectLink.

Reported on IRC by chronomex.

Signed-off-by: Jon Sturm <jonimoose@gmail.com>
  • Loading branch information
Jonimoose committed Apr 11, 2012
1 parent 3ef2560 commit 0b8ed0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tikey.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ static uint16_t ascii_to_key(CalcModel model, char c)
ck = ticalcs_keys_83p(c);
else if (model == CALC_TI86)
ck = ticalcs_keys_86(c);
else if (model == CALC_TI89 || model == CALC_TI89T_USB)
else if (model == CALC_TI89 || model == CALC_TI89T_USB
|| model == CALC_TI89T)
ck = ticalcs_keys_89(c);
else if (model == CALC_TI92 || model == CALC_TI92P
|| model == CALC_V200)
Expand Down

0 comments on commit 0b8ed0a

Please sign in to comment.