Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  morse code
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: morse code  (Read 11201 times)

Offline alfred

  • Member
  • *
  • Posts: 20
morse code
« on: December 01, 2006, 05:28:46 PM »
hi!

if someone included morse code as an input option in rockbox (like in ipodlinux's editor), i'd learn it...  ;D ;D seriously!

have a nice weekend!
alfred
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: morse code
« Reply #1 on: December 01, 2006, 05:52:16 PM »
First off, the forums are not the proper place for feature requests.  That is what the tracker is for.

Second, I very much doubt that someone is going to code this for you as it does not have much practical purpose being that very few people know morse code.
Logged

Offline RotAtoR

  • Developer
  • Member
  • *
  • Posts: 170
  • Somewhere but not here
Re: morse code
« Reply #2 on: December 01, 2006, 07:20:39 PM »
Morse input was included at one point by Slasheri, IIRC, but I seem to remember it got lost in some past big update. Maybe some one else knows more details.

Edit: Maybe it's still there, see section 4.1.4 of the manual.
« Last Edit: December 01, 2006, 07:23:35 PM by RotAtoR »
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: morse code
« Reply #3 on: December 01, 2006, 09:14:33 PM »
The morse code input method is in Rockbox for approximately half a year. On irivers (H100s, H300s) it is activated by Play + A-B combination and it works pretty well ;) although I am not sure if it is faster than the virtual keyboard. ... I have checked the manual and actually it is wrong. The long Down combination does not work on H100s.
Logged

Offline alfred

  • Member
  • *
  • Posts: 20
Re: morse code
« Reply #4 on: December 02, 2006, 03:41:26 AM »
my dap is an ipod... for me it's quite tiring to use the scroll wheel because very often you touch it slightly when pressing the select button and change the letter unintendedly... therefore i'd really appreciate a one-button-only input method.

as far as speed is concerend: the once was a competition between (old and experienced) morse coders and (young and experienced) sms texters, and the former won! ;)

@scorche:
sorry for asking in the wrong way!

alfred
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: morse code
« Reply #5 on: December 02, 2006, 05:02:11 AM »
hmph...sure showed me  :)

Bascule: I know I know....
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: morse code
« Reply #6 on: December 02, 2006, 06:55:40 AM »
To add morse input to the virtual keyboard for Ipods all you need to do is add this

Code: [Select]
    { ACTION_KBD_MORSE_INPUT,  BUTTON_ON|BUTTON_MODE,                 BUTTON_NONE },
    { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL,              BUTTON_NONE },

with a small modification (There don't seem to be any key combinations in the Ipod keymap which probably means that you cant have them...), Try replacing BUTTON_ON|BUTTON_MODE with BUTTON_PLAY

Add this to the end of the keyboard context in apps/keymaps/ipod.c (line 165 should do it).
Then pressing the play button should cycle you into and out of morse mode.

I don't know anything about Ipods and their buttons though, I have no idea if play is a good button for this or not. I chose it because it seems to be the only unused button in the Vkeyboard.

Try it out and tell us if it works....
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline alfred

  • Member
  • *
  • Posts: 20
Re: morse code
« Reply #7 on: December 03, 2006, 01:09:34 PM »
hmmm, it does not work on my ipod. if i change the lines according to your suggestions, compile and enter the text editor, a short press on play opens the virt keyboard, a longer press exits the editor and a very long press shuts down rockbox...

thank you, nevertheless, i learned a lot about compiling (which i had never done before...)

alfred
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: morse code
« Reply #8 on: December 03, 2006, 03:49:49 PM »
Quote from: alfred on December 03, 2006, 01:09:34 PM
hmmm, it does not work on my ipod. if i change the lines according to your suggestions, compile and enter the text editor, a short press on play opens the virt keyboard, a longer press exits the editor and a very long press shuts down rockbox...

thank you, nevertheless, i learned a lot about compiling (which i had never done before...)

alfred
Don't give up yet... What do you mean by "enter the text editor, a short press on play opens the virt keyboard, a longer press exits the editor"
I thought you were already in the editor...

Without this modification, when you are in the virtual keyboard, what does a short press of play do? and with the modification what does it do?
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: morse code
« Reply #9 on: December 03, 2006, 04:43:40 PM »
Ahh... On a closer look I see that you are right, it won't work just like that.. nearly though.

Try this patch out..It works on the sim so it should be ok on your player. I had to change some keys though.

To accept your filename you must now press play instead of holding select
Hold menu to enter morse mode
click or hold select to use morse

Tell me if it works...and as a bonus you'll get to learn how to patch too! :D
« Last Edit: December 18, 2006, 12:13:18 PM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline alfred

  • Member
  • *
  • Posts: 20
Re: morse code
« Reply #10 on: December 03, 2006, 04:49:13 PM »
thank you! i'll do that! however, it may take some time because tomorrow a very strenuous and labourious week starts for me... i guess i will be working and eating and sleeping only...
Logged

Offline alfred

  • Member
  • *
  • Posts: 20
Re: morse code
« Reply #11 on: December 10, 2006, 11:52:23 AM »
patching is easy. ;)

however, morse code still doesn't work. when i run text_editor and press play, the save/exit menu opens. when i press select, the keyboard pops up. when i press menu, the copy/paste menu opens. either i make stupid mistakes, or it simply doesn't work...

thank you very much nonetheless, don't invest any more time in it, i'll live with the standard input method. :)

alfred
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: morse code
« Reply #12 on: December 11, 2006, 04:26:03 AM »
You have to hold the menu button down to enter morse mode first...

Hang on a minute...what do you mean by text_editor? This patch is supposed to be for the virtual keyboard...ie editing filenames etc...right?

Go to the settings menu, choose 'manage settings' and then 'write .cfg file', then you should be in the virtual keyboard. Press and hold the menu button until the display changes to a morse input screen and hold/press select in the correct combination for the required letter.
« Last Edit: December 11, 2006, 04:31:42 AM by Mmmm »
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: morse code
« Reply #13 on: December 11, 2006, 06:22:25 AM »
Quote from: Mmmm on December 11, 2006, 04:26:03 AM
Hang on a minute...what do you mean by text_editor? This patch is supposed to be for the virtual keyboard...ie editing filenames etc...right?

text_editor uses the virtual keyboard.

However I agree, he needs to enter the virtual keyboard first (by pressing play - judging from his message) and _then_ turn the morse input on (by whatever key combination it is on the ipod). Once it is toggled to morse, subsequent calls to the virtual keyboard (via play) will go straight to morse input (from experience on h120).

Logged

Offline alfred

  • Member
  • *
  • Posts: 20
Re: morse code
« Reply #14 on: December 11, 2006, 06:42:29 AM »
it works! thank you all! i tried to enter it from the text screen, not from the virt keyboard screen.

great feature!

alfred
Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  morse code
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.102 seconds with 14 queries.