[Lcdproc] CFonts635 Buttons not working
Topher Fangio
tfangio@fractech.net
Wed Sep 5 13:48:03 2007
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Eyal Cohen wrote:
<blockquote cite="mid:1188955501.16608.9.camel@mainmachine" type="cite">
Hello.<br>
I have a Cfontz USB LCD 635 working ok with lcd-proc + CFontzPacket
driver.<br>
It displays what I tell it to and menus work fine.<br>
But when I want to receive notification of button presses nothing
happens:<br>
<br>
<font color="#0000ff">[eyal@mainmachine lcdproc-0.5.2]$ telnet
127.0.0.1 13666</font><br>
<font color="#0000ff">Trying 127.0.0.1...</font><br>
<font color="#0000ff">Connected to mainmachine (127.0.0.1).</font><br>
<font color="#0000ff">Escape character is '^]'.</font><br>
<font color="#0000ff">hello</font><br>
<font color="#0000ff">connect LCDproc 0.5.2 protocol 0.3 lcd wid 20
hgt 4 cellwid 6 cellhgt 8</font><br>
<font color="#0000ff">client_add_key -exclusively UPĀ </font><br>
<font color="#0000ff">success</font><br>
<font color="#0000ff"><key pressed></font><br>
<br>
<br>
same goes for non-exclusive.<br>
Like I said, menus work fine, so the buttons themselves are not to
blame.<br>
What could be causing this?<br>
<br>
Thanks<br>
EyalC
<pre wrap="">
<hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 9/4/2007 10:36 PM
</pre>
</blockquote>
I had the same problem with my 635. I believe the culprit is the fact
that you used "UP" instead of "Up". It claims<br>
that it succeeds, but I had to change my API to use words with only the
first letter capitalized. I believe the<br>
following is a complete list of valid keys for the 635 (taken straight
from my ruby code):<br>
<br>
VALID_KEYS = [ "Escape", "Enter", "Up", "Down", "Left", "Right" ]<br>
<br>
<pre class="moz-signature" cols="72">--
Topher Fangio
Software Developer
Frac Tech Services, Ltd.
Fort Worth, Texas
</pre>
</body>
</html>