Device::KeyStroke::Mobile

miyagawa on 2003-02-21T15:00:23

I' made a new module entry on CPAN: Device::KeyStroke::Module

NAME
    Device::KeyStroke::Mobile - Calculate key stroke times with mobile phone
    keypads

SYNOPSIS
      use Device::KeyStroke::Mobile;
      my $typing_times = calc_keystroke('example.com');

DESCRIPTION
    Device::KeyStroke::Mobile is a module to calculate how many times you
    need to type keypads in mobile phone to build a word. For example, when
    you type "example.com" with a mobile keypad,

      e: 3 3
      x: 9 9
      a: 2
      m: 6
      p: 7
      l: 5 5 5
      e: 3 3
      .: *
      c: 2 2 2
      o: 6 6 6 >
      m: 6

    you need to type keys 21 times.

    This module would be useful when you conider taking a new domain name
    which is easy to type with mobile phones.


:) kinda cool

hfb on 2003-02-21T18:08:15

now that I'm out of the us and in a part of the world where SMS is far more useful and used I might actually be able to use that for something. However, one thing to consider is the range of models of mobile phones and how they treat the special "." character as I don't think it's the same on a lot of them and not on my Nokia.

Re::) kinda cool

miyagawa on 2003-02-21T18:12:15

Yes, Keymapping is customizable!

Re::) kinda cool

hfb on 2003-02-21T18:34:24

you haven't seen some of these new phones over here...and custom keymaps sound like work :) Maybe I'll just wait for the voice recognition to come up to speed.

Re::) kinda cool

miyagawa on 2003-02-21T18:39:07

err, I mean you can customize key mappings inside Device::KeyStroke::Mobile, to fix the calculation with your model ;-)

Re::) kinda cool

hfb on 2003-02-21T19:47:15

oh, duh :) Hmm...it still may be some work but maybe less than reprogramming the phone prom :)

Re: Device::KeyStroke::Mobile

jmcnamara on 2003-02-21T22:53:05

Nice idea. :-)

Maybe it would be useful to add another metric that adds a weighting for consecutive letters that occupy the same key and which require the user to pause as the letter is accepted.

For example it takes longer to type "monom" than "minim" although the number of key presses is the same.

Re: Device::KeyStroke::Mobile

miyagawa on 2003-02-22T03:06:27

Hmm. In Japanese mobile phones, users need to type [>] key or something like that to step to the next character. This module calculates this [>] as 1 keystroke.