maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   New Working Xkbd Keyboard (https://talk.maemo.org/showthread.php?t=18107)

Pushwall 2008-03-21 21:31

Re: New Working Xkbd Keyboard
 
FWIW, I think some of the old DOS games used Alt-S for saving a game, Alt-L for loading a saved game, and Alt-Q or Alt-Esc to quit a game....or something like that.

OSEmuTech 2008-03-21 21:45

Re: New Working Xkbd Keyboard
 
Almost everything in Windows 3.x needs the alt key for menu selection (Alt-F for file, Alt-X for exit, etc.). Especially as the mouse is messed up under Windows on DOSbox.

Addison 2008-03-22 00:23

Re: New Working Xkbd Keyboard
 
Quote:

Almost everything in Windows 3.x needs the alt key for menu selection (Alt-F for file, Alt-X for exit, etc.). Especially as the mouse is messed up under Windows on DOSbox.
Now is that Alt-F, Alt-X, etc. or Alt-f and alt-x?

Sorry, I'm not understanding if they need to be capital letters or just normal, lower case letters.

Thanks.

OSEmuTech 2008-03-22 00:31

Re: New Working Xkbd Keyboard
 
I wasn't thinking (anyone wouldn't know). :p

lower case. i.e. alt-f, alt-x.

Addison 2008-03-22 01:20

Re: New Working Xkbd Keyboard
 
Oh hey OSEmutech, I think I found something that you might find interesting.

When trying to look through the source code, I stumbled upon this:

Quote:

mod <text>

Defines a second alternative text string to be displayed. The mod option
exists to make it easy to define smaller keyboards with more
options per key.

mod_ks <XKeysym>

The keysym to be sent when the 'mod' button is pressed.
If I'm reading this correctly, it looks like it's possible to have three layers of keys using this method.

I don't know how to set up a modifier key though.

Actually, come to think of it, I don't know how to set up a lot of keys.

Where can I find all the keys that Xkbd supports along with the command that goes with them? I'm not finding it in the source code for some reason.

Here's the website:
http://handhelds.org/~mallum/xkbd/

OSEmuTech 2008-03-22 01:31

Re: New Working Xkbd Keyboard
 
I was thinking that mod key was used for either CTRL or ALT + key signals.

That was the site I got my information from and I believe it is the final resting place of the formally abandoned xkbd project.

BTW: I used Scratchbox running on andLinux to test out my layout as I made changes to it.

I'll be taking a look at things Tuesday hopefully.

Addison 2008-03-22 08:13

Re: New Working Xkbd Keyboard
 
Quote:

I was thinking that mod key was used for either CTRL or ALT + key signals.
Hey Tech!

Actually, I think you're wrong on this.

Just looking at the fr_FR.azerty.xkbd design, from that website I posted earlier, here's a part of the coding inside of it:

Quote:

<key>
default Mod
default_ks !Mod
</key>
It looks like the Mod button has it's own special key.

If that's true, then you're looking at an extra level in keyboard design. :D

Anyway, I need that list of all the keys supported with Xkbd. Until then, my hands are tied.

It shouldn't be this hard looking for what commands it needs for certain keys. I'm just not finding it anywhere.

Right now, I need to know what to enter in for the values of these special keys:

Insert
Home
Page Up
Delete
End
Page Down
Cursor key up
Cursor key left
Cursor key down
Cursor key right
Print Screen (Not sure if that's even necessary)
Sys Rq (No clue what this button even is)
Scroll Lock
Pause
Break
Num Lock (I think this key is expendable, just curious if it's supported though)


There's also three other keys that I'm looking at, here at home, on my keyboard.

There's something between the Ctrl and Alt key (on the left side of the space key), it looks like there's some kind of Windows graphic on it.

It's also on the other side of the Alt key followed by this weird graphic with a cursor on it next to the Ctrl key, on the right side of the space key.

So yeah, those are all the keys I don't know how to enter in with the Xkbd format.

Any help on this from anyone and you'll see some good results with your response.

Thanks. :)

ArnimS 2008-04-02 04:12

On-Screen Keyboard - Transparent and readable
 
On-Screen Keyboard (edit *mockup*) - Transparent and readable

http://pupnik.de/transp_keybd_Nokia_770.jpg

It can be done, even with a full keyboard layout....

Requires some deep magic to draw on top of any displayed app, irrespective of 'on top' or fullscreen status. Either xshp xshape extension or a direct to framebuffer draw hack.

chrisak 2008-04-02 05:27

Re: New Working Xkbd Keyboard
 
Just curious, what game is pictured in the post above? Thanks! <smile>

Bundyo 2008-04-02 05:34

Re: New Working Xkbd Keyboard
 
Ultima 8 .


All times are GMT. The time now is 10:25.

vBulletin® Version 3.8.8