Author Topic: [RELEASE] dosk, an on-screen keyboard  (Read 3420 times)

jxv (OP)

  • *
  • Posts: 38
[RELEASE] dosk, an on-screen keyboard
« on: August 18, 2013, 02:18:37 am »
Hello, I've been working this neat little library the past couple of days.
The name dosk stands for "directional on-screen keyboard." And it's meant for the analog nub.

Screenshots of example usage:







Download/clone here: https://github.com/jxv/dosk

Or, just the example opk: https://raw.github.com/jxv/dosk/master/dosk-example.opk
« Last Edit: August 18, 2013, 02:29:29 am by jxv »

Juan

  • *
  • Posts: 123
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #1 on: August 18, 2013, 03:00:53 am »
That looks great, hope it gets implemented everywhere

Seph817

  • *
  • Posts: 127
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #2 on: August 18, 2013, 09:57:54 am »
That's awesome! I want that on everything!

Reds

  • *
  • Posts: 107
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #3 on: August 18, 2013, 01:32:09 pm »
Looks neat. If we can get a good "put your GCW stuff here" repository going, having this on a list of dev-tools and things would be good.

ruffnutts

  • ****
  • Posts: 2671
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #4 on: August 19, 2013, 02:28:36 pm »
I like this...its a very cool text imput method  8)

Bitboy

  • ***
  • Posts: 1666
    • Retrogamers97-90
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #5 on: September 03, 2013, 10:30:02 am »
I tried the keyboard what a genius idea hope devs take note when we get our repo app for downloading directly this will come handy.

DMK

  • *
  • Posts: 15
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #6 on: September 04, 2013, 01:51:10 am »
Really neat idea. Good work chap!

pcercuei

  • ***
  • Posts: 1428
    • My devblog
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #7 on: September 04, 2013, 02:00:31 am »
Nice, I had the same idea of a virtual keyboard controlled by the analog stick; but more like Beyond Good & Evil's.
Nonetheless, such a tool should be available globally (appear via a key combo), and not packed into each app. I'll probably fork and try to integrate it to the power switch daemon, as soon as our video driver supports overlays.

Agrajag

  • *
  • Posts: 127
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #8 on: September 04, 2013, 11:39:16 am »
Good job, jxv.  I look forward to trying this out when my Zero arrives.

I'll probably fork and try to integrate it to the power switch daemon, as soon as our video driver supports overlays.
That's a great idea!

Deagle275

  • *
  • Posts: 110
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #9 on: September 04, 2013, 03:44:18 pm »
Nice, I had the same idea of a virtual keyboard controlled by the analog stick; but more like Beyond Good & Evil's.
Nonetheless, such a tool should be available globally (appear via a key combo), and not packed into each app. I'll probably fork and try to integrate it to the power switch daemon, as soon as our video driver supports overlays.
How about power slider up+l+r ?

OpenSkrillux

  • *
  • Posts: 11
Re: [RELEASE] dosk, an on-screen keyboard
« Reply #10 on: September 05, 2013, 10:00:56 pm »
This is pretty nifty!

I made a similar thing a while back, it might be easier than using an analog stick for accuracy. There is a mode that allows you to enter any ASCII character (I never bothered uploading it though, because nobody replied :I)
http://love2d.org/forums/viewtopic.php?f=10&t=13581
To create characters in this scheme, you hold zero, one, or two of the ABXY buttons and press either up, down, left, or right on the d-pad.
The layout is based off the Elian script: http://www.ccelian.com/concepca.html

The reason I made this was because of the thrill of installing linux onto my dingoo. I wanted to be able to use the full terminal, browse the web (when plugged into usb) without having a keyboard. I didn't know how to program it to work as a part of OpenDingux at the time (and I still don't) but I really think it would be a lot of fun.

EDIT: I attached a version with the ASCII input. It uses PC configuration by default. (edit settings.lua if you want to try on a Dingoo!) Pretending your keyboard is a Dingoo, use the following controls:
Code: [Select]
ESDF = Up,Left,Down,Right
IJKL = X,Y,B,A
GH = Select,Start
WO = L,R

In the quick input mode, all the letters are on an imaginary grid (ABXY) with four levels (Down,Left,Up,Right):
Code: [Select]
Combining ABXY selects a spot on the grid: (still thinking in dingoo mapping)

(X+Y)  (X)  (X+A)
  (Y)  none (A)
(B+Y)  (B)  (B+A)

While holding a grid spot, press a direction to create the character:

Down:   Left:   Up:     Right:
C F I   L O R   U X \n  ! - ?
B E H   K N Q   T W Z   .   >
A D G   J M P   S V Y   / < !

Other things include R for backspace, L for shift/extra symbols, SEL for ASCII.
Hold L,R and press d-pad to move the cursor.

I also attached the typing tutor. To change it to dingoo mode, in main.lua change
Code: [Select]
controls = InputSchemes.PCto
Code: [Select]
controls = InputSchemes.Dingoo
Here's what the tutor looks like:


Download Links:
Editor: http://ubuntuone.com/0X7vFwZDJqStO7kxh1GzuY
Tutor: http://ubuntuone.com/7jxzHzI3tnid7v06pczoSU

EDIT 2:
After trying it out on the computer, I really recommend that you try it on a handheld, if at all possible! I'll even upload a Xbox360 controller version if anyone's interested! The keyboard doesn't really give it the feel of a real Dingoo. Also, there is a bit of memorization to do, but it's nothing compared to this awesome input method: https://www.youtube.com/watch?v=v7yZi45F8cE

If you don't want to try it because there isn't any "practical application," then try it out inside my impractical game maker for the Dingoo! (Press R to edit the name of an entity or condition!)
https://www.love2d.org/forums/viewtopic.php?f=5&t=27862&p=93902
(My bad if it seems like I'm advertising, it's just that I worked so hard on these and nobody really cared D;)
« Last Edit: September 05, 2013, 11:15:46 pm by OpenSkrillux »

 

Post a new topic