Subject: | D::A::AM and K700i |
Hi Richard,
I've been using your module with my K700i and I have the simple problem that my special keys (e.g. the camera key on the left side of the phone and my "joystick") seem to send keys in a different format in raw mode than you phone.
I had to
--- Mouse.pm~ 2004-03-08 05:28:16.000000000 +0100
+++ Mouse.pm 2005-04-11 21:02:38.000000000 +0200
@@ -28,7 +28,7 @@
my $self = shift;
my $got = shift;
- if ($got =~ /\+CKEV: (?:(.),(.))?/) {
+ if ($got =~ /\+CKEV: :?(.),(.)/) {
my ($key, $updown) = ($1, $2);
unless (defined $key) {
# this seems glitchy on my phone. oh well - hack it
in Mouse.pm, because the first collon is omitted by these keys. I don't know how flexible and portable along phones this is (the slide menu doesn't seem to work as well) but at least this works for my phone.
Have fun,
Marcus