forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

F.O.S.K.-based Text Editor Released

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Sun Dec 04, 2005 9:34 pm    Post subject: F.O.S.K.-based Text Editor Released Reply with quote

============================================
F.O.S.K. - http://fosk4psp.dynamicweb.hu/
============================================

F.O.S.K. is the Fast On-Screen Keyboard-based TEXT EDITOR
requiring only two (!) keystrokes to enter any character.

How does it work?
-----------------
The on-screen QWERTY keyboard is divided into 7 blocks, each one with a square shape,
containing 3x3=9 on-screen buttons (therefore icon.png .)
The first keystroke selects such a block, while the second one takes one of the nine chars inside the block.
- To move up/down/left/right inside the block .. the arrow keys are used
- To move up-left .. square, down-left .. cross, down-right..circele, up-right .. triangle keys used.
- To choose the mid char from the block .. the 'Select' keys is used.

The keyboard has 3 MODES (1~normal, 2~CapsLock, 3~CursorMode), each one having its own spcial functions:
Mode1: NORMAL MODE
----------------------
- to type text at the cursor position proceed as described above ('How does it work?')
- to scroll the text Up/Down use buttons R and L
- Special functions in this mode:
- Tab...Tabulator
- Del...Delete from Right
- Back..Delete to Left
- Home..Jump to the beginning of line
- Vsbl..Make the Text Visible or Not
- NwLn..add a New Line
- Copy..not implemented yet
- Cut...not implemented yet
- Pste..not implemented yet

Mode2: CAPS LOCK
----------------------
- Special functions in this mode:
- Open..Open another text file (should be of length at least 3 lines)
- NewF..Make a new file
- Clse..not implemented yet
- Save..Save the file we just edited
- Prnt..Print the screen immediately to a file with a filename extracted from the date like "1_00.15.34.png"
- Xprt..Save the text immediately to a file with a filename extracted from the date: "Note_1_00.05.38.txt"
- Find.. not implemented yet
- Repl.. not implemented yet
- Ins... not implemented yet

Mode3: CURSOR MODE
----------------------
- Special functions in this mode:
- Move cursor Up, Left, Down, Right (Arrow keys)
- Move 5 characters Up, Left, Down, Right (Triangle, Square, Circle, Cross)
- PageUp/PageDown (button L and R)

To switch inbetween the 3 modes press "Select"
To Exit F.O.S.K. press "Start".


Last edited by mrn on Tue Dec 13, 2005 6:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Tue Dec 13, 2005 6:02 pm    Post subject: Reply with quote

The last version is online with fixed bug when using standard fonts.
It requires LuaPlayer 0.15!!!

Last changes: (ver. 0.22.. Dec.12, 2005)
- square button printed as Rect,
- printing in dispText corrected by removing "%s" (see forum on Luaplayer 0.15)
- browser : oldPad added, so it is no more so sensitive
- ttf.. first trial -> really slow (see forum on Luaplayer 0.15)
- ttf vs. Standard font switchable manually in index.lua
- Battery status in % added with changing color
Back to top
View user's profile Send private message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Mon Dec 19, 2005 8:45 am    Post subject: Reply with quote

F.O.S.K 0.24 is online (edited.).

Most important new features:
- Save and SaveAs (SaveAs part of Save)
- Find and Find Next (sutable for dictionaries, just load ENHU.dic ;)
- vertical scrollbar with changing height acc to the filesize
- analog joystick-based cursor movement during edit mode
- auto-scrolling the text in all directions!

Minor changes:
- dispAscii added to see what's available .)
- Esc/Enter added to the "Find/SaveAs" menu
- new chars added to the keyboard (<|>)
- added "Back" to Caps-mode
- auto-init filename for new file
- "square" now printed as Rect,
- ttf vs. Standard font switchable (ttf is really slow and requires to implement caching!!)

Hints:
-When in SaveAs mode,
"New line" clears the filename entry field
"L" cancels the entry
"R" is like "Enter"
"Back" is like Backspace
(Del and cursor does not work in this mode)

- In readFosk.lua at point when calling the NewFile part,
you can easily invoke dispAscii() to fill your new file with the
available Ascii characters of the standard PSP (or ttf) font-set.
i saw nothing special :( there.


Last edited by mrn on Mon Dec 19, 2005 7:31 pm; edited 3 times in total
Back to top
View user's profile Send private message
Bob535



Joined: 04 Nov 2005
Posts: 56

PostPosted: Mon Dec 19, 2005 4:38 pm    Post subject: Reply with quote

uh, website still showing .24?
Back to top
View user's profile Send private message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Mon Dec 19, 2005 7:22 pm    Post subject: Reply with quote

yeah, sorry, wrong number. website is ok. I'll edit.
.. and Bob, thanks for showing interest and mirroring F.o.s.k!!!
Back to top
View user's profile Send private message
Wraggster



Joined: 26 Aug 2005
Posts: 121

PostPosted: Tue Dec 20, 2005 9:24 am    Post subject: Reply with quote

yeah i had the same problem when i posted news last night ;)
_________________
Webmaster of http://www.dcemu.co.uk

DCEMU The Worlds Only Homebrew & Gaming Network of Sites.
Back to top
View user's profile Send private message Visit poster's website
Bob535



Joined: 04 Nov 2005
Posts: 56

PostPosted: Tue Dec 20, 2005 2:21 pm    Post subject: Reply with quote

New file has been mirrored on my site.

www.247364.com
Back to top
View user's profile Send private message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Tue Dec 20, 2005 8:54 pm    Post subject: Reply with quote

thnx, bob! your're going to have a nice page!
btw, have you ever considered building a full package (virtual os + Apps)
like OSi, or PSPWin?

I mean one with
- IR, WiFI, Serial Test cripts inside, and
- a package easily expandable by further applications?

I think what we need is.. you know what, I'll start a new thread on it.)
Back to top
View user's profile Send private message
Bob535



Joined: 04 Nov 2005
Posts: 56

PostPosted: Wed Dec 21, 2005 12:08 am    Post subject: Reply with quote

ugh, too much work.
Back to top
View user's profile Send private message
mrn



Joined: 02 Nov 2005
Posts: 116

PostPosted: Wed Dec 21, 2005 1:26 am    Post subject: Reply with quote

Quote:
ugh, too much work.


Shine already did put a lot of work with his colleagues,
so why not to start sthng coordinated, which is not
really controlled, just showing some directions...?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group