Notices


Reply
Thread Tools
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#41
i got tab by remapping it in the conf file, search forum for details.

i use bt gamepad
 
Posts: 62 | Thanked: 3 times | Joined on Feb 2006 @ Italy
#42
Originally Posted by mlvj
i got tab by remapping it in the conf file, search forum for details.
Thanks, post found. BTw I can't find the xmamerc file in the 770 (which should be the xml file to modify, if I understand well), I hav a home/user/.mame directory, but it contains nothing but other four dirs. The cfg directory inside contains some .cfg files (with a "default.cfg" too), but they are not in plain text format so I suppose I should not touch them. Could you suggest where the xml file should be located?
Originally Posted by mlvj
i use bt gamepad
Yes, already seen: nice work! Anyway I'd like those software buttons, almost like someone has already suggested assigning the stylus tap to the button 1...
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#43
the xmame 58, which is on what this is based, does not support xml config sadly.

the file i edited is this one; /usr/lib/xmame/xmamerc
 
Posts: 62 | Thanked: 3 times | Joined on Feb 2006 @ Italy
#44
Originally Posted by mlvj
the file i edited is this one; /usr/lib/xmame/xmamerc
good, thanks. As suggested from you, I've added the following line at the end of the file:

sdlmapkey 0x0073,0x000f

so, which is the hardware key I have to press to simulate the tab button and change my keymap settings?

---
EDIT: I suppose there's something wrong in what I'm doing, as it seems that nothing has changed: I've tried all the buttons but no options menu popping up... (help?)
----

EDIT 2: Got my mistake: I believed the first code was for one of the hardware keys, I realize it is for the "s" key you mapped with your gamepad. Which are all the available strings I can write as a first parameter in order to use a hardware key?
----

EDIT 3: Will these be fine?

HILDON_HARDKEY_UP
HILDON_HARDKEY_LEFT
HILDON_HARDKEY_RIGHT
HILDON_HARDKEY_DOWN
HILDON_HARDKEY_SELECT
HILDON_HARDKEY_HOME
HILDON_HARDKEY_ESC
HILDON_HARDKEY_FULLSCREEN
HILDON_HARDKEY_INCREASE
HILDON_HARDKEY_DECREASE
HILDON_HARDKEY_MENU
---

EDIT 4: tried with the following line in xmamerc but nothing happens:

sdlmapkey HILDON_HARDKEY_INCREASE,0x000f

tried with the following too, no way again:

sdlmapkey GDK_HARDKEY_INCREASE,0x000f

any clues?

Last edited by insert_nick; 2006-10-29 at 20:46.
 
Posts: 62 | Thanked: 3 times | Joined on Feb 2006 @ Italy
#45
Notice: I've opened a topic to collect suggestions of playable games without external pad.

Suggestion: when the rotate screen checkbox is unchecked, the keymapping remains the same so the directions are "mind-scrambled". It would be nice to have a wiser xmaeme to automatically switch for another xmamerc configuration file when the rotation is activated/deactivated, of course with proper keys remapped. Or at least letting the user choose it manually from a dropdown list (just like the one made to browse for roms in the default roms dir) - I suppose a simple approach could be letting the chosen file overwrite the existing "xmamerc" in order to let xmame load and use it, but sure it can be done better without stressing the mmc card with those unnecessary overwrites (maybe xmame can be called with a parameter specifying the configuration file name?)

Last edited by insert_nick; 2006-10-30 at 12:10.
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#46
Hiya, I did a search on the interweb which resulted in the keycodes for s etc.

Not sure what the keycodes are for actual hardware keys on the 770 though; I did keep a list of the websites I searched on the 770 - but I'm at work now with no 770!

It's all findable; it took me about 2 hours on a Thursday evening in front of the TV, eventually resulting in the right solution for my external gamepad, where I'd set the driver to map the "start" button on the gamepad to "s".

Further to what you are trying, it's probably correct (or at least on the correct track) - may I assume that you're putting the hex values in the xmamerc file instead of the literal text? If not, I'd suggest you try the hex values.
 
Posts: 62 | Thanked: 3 times | Joined on Feb 2006 @ Italy
#47
Originally Posted by Tak
This has always annoyed me - I suppose I could set the default config to have one of the zoom in/out keys as "tab" ...
Definetely: this would open the way to let the user easily set his favourite settings. I don't know if they would be saved for each game, or as a global configuration though. Btw, use the zoom out (EDIT: mistake, it was supposed to be "zoom in") button for the TAB, as it is closer to the OFF button so it would not interfere while playing.
Originally Posted by mlvj
Further to what you are trying, it's probably correct (or at least on the correct track) - may I assume that you're putting the hex values in the xmamerc file instead of the literal text? If not, I'd suggest you try the hex values.
No, I'm writing exactly as I've written. You've used the hex value corresponding to the ASCII code of the "s" char, it's no problem; but what about 770's hardware keys? Are there any "conventional" ASCII codes used to address them?

Last edited by insert_nick; 2006-11-08 at 12:52.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#48
Hey mlvj, I messaged you, any chance for that driver for bt gamepad?

Thanks,

pb

Originally Posted by mlvj
Hiya, I did a search on the interweb which resulted in the keycodes for s etc.

Not sure what the keycodes are for actual hardware keys on the 770 though; I did keep a list of the websites I searched on the 770 - but I'm at work now with no 770!

It's all findable; it took me about 2 hours on a Thursday evening in front of the TV, eventually resulting in the right solution for my external gamepad, where I'd set the driver to map the "start" button on the gamepad to "s".

Further to what you are trying, it's probably correct (or at least on the correct track) - may I assume that you're putting the hex values in the xmamerc file instead of the literal text? If not, I'd suggest you try the hex values.
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#49
Hi pb,

I emailed it to the email address you pmd me... no dice?
 
Posts: 105 | Thanked: 1 time | Joined on Feb 2006
#50
No, I'm writing exactly as I've written. You've used the hex value corresponding to the ASCII code of the "s" char, it's no problem; but what about 770's hardware keys? Are there any "conventional" ASCII codes used to address them?
The hardware keys are just keys like any other, high number F keys as I recall. So do your searches, and you should get an include file definition at some point with hex codes (that's what I did)

...and in the meantime maybe Tak will oblige with a default setting for tab to something!

I quite like playing scramble just before bed.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:52.