Notices


Reply
Thread Tools
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#11
Hey Addison. Great job!

Grrr ... of all days to forget my charger at work. Probably have an hour left of charge.

I'll try to work on an updated keyboard in the next week unless someone else does it first.

__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,150 times | Joined on Oct 2007 @ East Lansing, MI
#12


Mine's bigger than yours, or at least longer, not that I'm implying anything of course.

Yeah, I was going to fix yours as well but I wasn't sure how you wanted to do the layout since you'll have to remove the "Shift key" since it will crash Xkbd.

Hopefully it's not too inconvenient to use the Caps Lock button, but at least we finally have something now, so I'm happy.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Originally Posted by Addison View Post

Mine's bigger than yours, or at least longer, not that I'm implying anything of course.
Lmao, lol why not produce a collaboration likee with the old layout
 
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#14
Mine was too big, so I reduced it from 12 points to 10 points.

It was over the edge of the menu bar. Maybe 11 point would have been the perfect fit.

I'll try to get around to messing with things soon. If anything, I'll have Tuesday off. One thing that would be nice is to keep the minimize keyboard key (>>).
__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2

Last edited by OSEmuTech; 2008-03-20 at 23:07.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,150 times | Joined on Oct 2007 @ East Lansing, MI
#15
Mine was too big, so I reduced it from 12 points to 10 points.

It was over the edge of the menu bar. Maybe 11 point would have been the perfect fit.

I'll try to get around to messing with things soon. If anything, I'll have Tuesday off. One thing that would be nice is to keep the minimize keyboard key (>>).
Hey OSEmuTech!

First, a quick suggestion.

Don't bother with trying to figure out the correct font size, there's a better way of doing this without pulling out your hair.... You do still have some left don't ya?

There's a height and width command that you can place at the end of your keys.

So for example:
default a
default_ks A
shift A
shift_ks A
obey_capslock yes
height 28
width 26


You don't need to do the width and height for every key, but at least do it for the first row and see what happens.

If that doesn't work for all they keys, then also add that on the last row of your keys as well. This way it will force them to appear all the same.

And yeah, I totally agree that there should be a Minimize button which mine doesn't have.

The thing is, if you close out Xkbd with the Caps Lock on, for some reason, that flag carries over to the next time you fire up Xkbd, meaning that the Upper and Lower cases will be reversed each and every time.

So I can't use the "Shift Minimize" key to exit Xkbd since that will drive people nuts always having the keys being typed going back and forth from default Upper case then to default Lower case, then back again.

I also don't want to burn an extra button just to add the Minimize feature, space is severely limited.

So I'm a little stuck on this at the moment and I'm not too sure what to do here.

Is there another way to kill Xkbd like Ctrl or Alt something?

Thanks.
 
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#16
Originally Posted by Addison View Post
Hey OSEmuTech!
There's a height and width command that you can place at the end of your keys.

You do still have some left don't ya?

Is there another way to kill Xkbd like Ctrl or Alt something?
1. I took out the height\width lines to make each key resizable (based on font size) and prevent the "ugliness" you commented on in an earlier "build" of my extended keyboard layout where the divisions did not line up.

2. I have some hair left. I did get a buzz cut on Tuesday though, so it's even less than usual.

3. How to kill xkbd?

Where you have

key_1
Key_a "key 49"


put

key_1 "key 49"
key_a "key 97"


__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,150 times | Joined on Oct 2007 @ East Lansing, MI
#17
Dude, you're too funny!

Well, it turns out that Dosbox goes into tetanus if you minimize the keyboard then bring it back up. Only way to get control back is to power down the tablet.

I thought perhaps it was the goofy "geometry +65536+65536" setting, but after trying "geometry +1+1" I got the same results.

I tried doing the minimize outside of Dosbox and it works just fine, so not too sure what's going on there. But for now, unless you can find a solution, it doesn't look like minimizing the keyboard is going to be an option within Dosbox.

And just to let you know, there's no competition here with both our ideas on how to do the layout for the keyboard.

If anyone is excited about seeing your revised version, come Tuesday or whenever, it's definitely me. I'd really like to see what your next take is going to be.

Cheers bud.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#18
Beat 18 points! :P. No wait...

Nah, I just wanted to say to Addison, you know you were saying about two keyboards running with DosBox?

It can be done quite easily. I only play monopoly on DosBox anyway. (Thanks Addison! )

Edit /usr/bin/dosboxkbd as root. The next time you start DosBOX, it will start your 2 keyboards automatically.

I commented out the existing xkbd line. Which loads the default xkbd keyboard that dosbox uses and I put in lines for the keyboard:
Here is how my dosboxkbd looks like:
#!/bin/sh
xkbd -geometry +65536+65536 -k /usr/share/xkbd/x.xkbd &
xkbd -geometry +722+65536 -k /usr/share/xkbd/m.xkbd
#xkbd -geometry +1+60 -k /usr/share/dosbox/dosbox.xkbd # the standard keyboard that runs usually when you run dosbox

Last edited by qwerty12; 2008-03-21 at 08:12.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,150 times | Joined on Oct 2007 @ East Lansing, MI
#19
Thanks a bunch qwerty!!!

Yeah, I caught your previous post the other day on chaining two commands together. I tried using that last night and it works out great!

Dosbox will open both keyboards and close them both when exiting.

So I'll be putting together a left and right side keyboard for Dosbox.

For stuff outside of Dosbox, I'll make another double keyboard that will cover the left and top side tool bars on the Nokia screen with a minimize option.

It should be a good setup if I get it right.

Still haven't figure out a way to do a lower case "Alt a" though. By the way, I've never used the Alt button in my life, so just curious, what do you need that for anyway?

Thanks again!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#20
Originally Posted by Addison View Post
Thanks a bunch qwerty!!!

Yeah, I caught your previous post the other day on chaining two commands together. I tried using that last night and it works out great!

Dosbox will open both keyboards and close them both when exiting.

So I'll be putting together a left and right side keyboard for Dosbox.

For stuff outside of Dosbox, I'll make another double keyboard that will cover the left and top side tool bars on the Nokia screen with a minimize option.

It should be a good setup if I get it right.

Still haven't figure out a way to do a lower case "Alt a" though. By the way, I've never used the Alt button in my life, so just curious, what do you need that for anyway?

Thanks again!
Great!

Come think of it, I think you are right. I've only used alt in dos apps and not games. I think i'm being picky - sorry .

I don't actually mind the layout. For keys i need, I load matchbox kbd from cpu applet and close when finished. I don't think that works for fast action games but I don't have any !

Thanks
 
Reply


 
Forum Jump


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