Odd problem

Previous topic - Next topic

Darmakwolf

Well I decided to try out BootCamp on this Mac Mini (intel core2 duo + 8gb ram nvidia 320M osx snow leopard + win xp pro) - and it works really well. Never seen a small computer run this well with anything - except I think there's a problem with the way GLBasic interprets the return key on the Apple keyboard for some reason. If I use an Input command, I can't get "return" (or "enter, for that matter,) to actually finish the input and go on to the next part of the code. It makes a yellow block with my custom font, and a blank space with the default font. I've even run the sample for Input - it does the same thing - generates spaces when I hit return. The key tool in the tools folder says the key being pressed is "28." This is the corded, aluminum Mac keyboard with two USB slots on it. Not sure what else to say - am I just being really stupid and am I overlooking something?  :doubt:

Darmakwolf

... well. Just read another post about it - how'd you manage to break Input? xD anyways. I just need simple input from the keyboard for something *I* will use, rather than a polished end-user thing. It's for a level editor. Guess I'll have to research DDGUI... which is really a bit of a pain. It'd be a lot simpler if input just worked.

erico

I ran a game a few weeks ago that the same yellow block when enter pressed happened, tried the small enter and same thing happened.
Could not get past the login part.

Solution came after properly setting keyboard and language.
I use win 7 64b. keyboard is a microsoft simplest cord one.

ENGLISH language.
Portuguese layout with abnt2 worked for me (since my keyboard is pt br)

All went fine after,
so look for a keyboard layout/drive that matches the apple one, see if it works out.

Darmakwolf

Well I'm currently using XP to develop in GLB - but all my preferences are set to english with an english keyboard. I seriously don't need to implement the entire freaking DDGUI for ONE box to type in. one. Input$ may be a mostly unused command, but it's STOPPING production right now. I don't want to go through the trouble of rolling back to an older installation, that should not be necessary. Is there a quick-fix for XP?

MrTAToad

Tried the latest beta ?

ampos

Input command is broken in 9.040

Darmakwolf

I just installed beta (it was hard to find! make a big download button ><) and NOW it works. Please don't break basic functions in a standard update... but I'm glad it's fixed! xD thank you for the suggestions. I can get on with work now. DDGUI wasn't a good alternative for this project.