maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 DOSbox - no number keys? (https://talk.maemo.org/showthread.php?t=35244)

mjoerger 2010-04-11 18:21

Re: N900 DOSbox - no number keys?
 
DOSBOX and the mapper for nokia n900

hello javispedro,
iīm german and i have a nokia n900 with the us-keyboard.
dosbox is a great tool for me, for i have programmed a lot of software in clipper 87.

the programs are running fine, but there is one problem with the keymapper.
the keymapper is neccessary for me, because all programs need the function keys and the esc-key.
i have rover.sys us in the autoexec and it works fine.
when i have mapped for example the esc-key with :
add
backspace
hold
that the backspace-key with ctrl-key is the replacement for the esc-key
it works only for one time in the application.
when i push the key once again, esc is no longer on the key.
thats with all other function-keys the same.

what can i do ?

kind regards
michael

javispedro 2010-04-12 00:10

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by mjoerger (Post 605693)
i have programmed a lot of software in clipper 87.

Heh, I need to run CA Clipper occasionally :)

Quote:

Originally Posted by mjoerger (Post 605693)
.
when i have mapped for example the esc-key with :
add
backspace
hold
that the backspace-key with ctrl-key is the replacement for the esc-key
it works only for one time in the application.
when i push the key once again, esc is no longer on the key.

Why do you use "hold"? You shouldn't select hold, but mod1.

Also note that Ctrl+Backspace might be a bad accelerator, since the system is using it.

mjoerger 2010-04-12 06:28

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by javispedro (Post 606141)
Heh, I need to run CA Clipper occasionally :)


Why do you use "hold"? You shouldn't select hold, but mod1.


sorry, i take mod1 !
but what key do you take for ESC ?



Also note that Ctrl+Backspace might be a bad accelerator, since the system is using it.


and what keys do you take for F1-F10 ?

michael

ps : i also have the flagship compiler for windows and linux and unix. it uses the same code as clipper. the idea is great. it works fine for a lot of clipper 87 code, but not for all things i want. too many bugs, but the idea is very good.

javispedro 2010-04-12 07:43

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by mjoerger (Post 606389)
and what keys do you take for F1-F10 ?

rover.sys maps those to Ctrl+FN+1..9 and 0

For ESC I sometimes use Shift+Backspace (you have to map Modifier 3 to Shift then ESC to "backspace+mod3") but I've mostly workarounded it.

mjoerger 2010-04-12 15:16

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by javispedro (Post 606481)
rover.sys maps those to Ctrl+FN+1..9 and 0

For ESC I sometimes use Shift+Backspace (you have to map Modifier 3 to Shift then ESC to "backspace+mod3") but I've mostly workarounded it.


thanks for your reply javispedro.

with rover.sys the function keys F1-F9 are ok.
when i hold the SHIFT- and the FUNCTION-key over the SHIFT-key + 1...2...3.......9
for F2 the return-code=28
for F2 the return-code=-1
for F3 the return-code=-2
for F4 the return-code=-3
for F5 the return-code=-4
for F6 the return-code=-5
for F7 the return-code=-6
for F8 the return-code=-7
for F9 the return-code=-8

for F10 the return-code=80 and thats wrong, it must be -9

the ESC-mapping with -startmapper works only if i map the ESC to a single key like the "e". when i want to map the ESC to f.e. Ctrl+SPACE it works only one time. when i press Ctrl-SPACE again, the return code is no longer 27, itīs then 32=space.

with the ctrl+backspace i never get a return-code 27 of esc.

what i do in the mapper :

1) i select the ESC-key left upper corner
2) i select DELETE
3) i select ADD
4) i press the BACKSPACE-key over the RETURN-key on the physical n900 keyboard
5) i select MOD3 for the SHIFT-key
6) i select HOLD
7) i select SAVE
8) i select EXIT
9) i run the application (clipper-app)

the return code is 8, when i press the backspace-key, the 27-returncode of esc doesnīt appear.

javispedro 2010-04-12 16:38

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by mjoerger (Post 607027)
for F10 the return-code=80 and thats wrong, it must be -9

Ouch, that indeed seems to be the case. Will fix it.

Quote:

Originally Posted by mjoerger (Post 607027)
when i want to map the ESC to f.e. Ctrl+SPACE it works only one time. when i press Ctrl-SPACE again, the return code is no longer 27, itīs then 32=space.

with the ctrl+backspace i never get a return-code 27 of esc.

what i do in the mapper :

...
6) i select HOLD
...

Why, why, why HOLD??? I said you shouldn't.

mjoerger 2010-04-12 17:13

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by javispedro (Post 607155)
Ouch, that indeed seems to be the case. Will fix it.

Why, why, why HOLD??? I said you shouldn't.

ok, without HOLD, but i donīt understand which key-combination
gets the esc ?

press shift and release shift
then press backspace ?

iīve tried without HOLD, and itīs the same, NO ESC-RETURNCODE 27

sorry
michael

javispedro 2010-04-12 17:41

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by mjoerger (Post 607027)
5) i select MOD3 for the SHIFT-key

Did you also map the modifier 3 to shift? You have to select a special key in the mapper virtual keyboard, then tap ADD then press the SHIFT physical key.

6sicSIX 2010-04-12 17:47

Re: N900 DOSbox - no number keys?
 
is there any way of getting the mouse synchronised with the touch screen? or maybe using the accelerometer..?

mjoerger 2010-04-12 19:12

Re: N900 DOSbox - no number keys?
 
Quote:

Originally Posted by javispedro (Post 607235)
Did you also map the modifier 3 to shift? You have to select a special key in the mapper virtual keyboard, then tap ADD then press the SHIFT physical key.

ok it runs.

iīm sorry for nerving you.

i thought the mod1-3 are just mapped, i did not control them.

please let me know, when you have fixed the bug with F10=-9 numeric return code.

many thanks for supporting.

michael


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8