Keycodes - 8125, K-JAM, P4300, MDA Vario General

I'm trying to set up Duke Nukem 3D on the Wizard and can't find the key names or codes for various keys, like the camera, call, hang up, backlight etc...
Any ideas?

I think most of the hardware keys are in the normal range of F1, F2 etc.
Eg I think the hangup key is like F4.
Check here:
http://www.vijay555.com/index.php?Releases:VJKeyPress:Key_List
V

Aren't the pickup and hangup keys hard-bound in Windows Mobile to the phone options, and the nagup key is always set to hangup the phone call, or kill the current app? I've always found that I can minimise ANY running app by hitting the hangup key. Which has its uses, but is wholly impractical for mapping keys to functions in games and stuff.

christopherwoods: no the hard keys aren't mapped to the phone. Well, in a way they are, but not internally. Basically, if the phone app, cprog.exe, is working, it will intercept keys F3 and F4 and interpret those as dial/hangup keys. So using my program VJKeyPress you can simulate red and green with VJKeyPress 114 or 115
However, if you redefine the function of those keys, eg using a program like AE Button Plus, if you then simulate pressing F3 or F4, then it will perform the function chosen in AEButtonPlus. So, the keys can be overriden. Using VJKeyPress 114 will not simulate the phone key etc.
I've always found that I can minimise ANY running app by hitting the hangup key. Which has its uses, but is wholly impractical for mapping keys to functions in games and stuff
Click to expand...
Click to collapse
In normal use the red button doesn't minimse windows, it just jumps to the today screen I think. It certainly doesn't close windows. To close windows with the hangup key, check out my program VJOkButt.
Most programs written with GAPI will override the hardware key settings. However, if your game doesn't, use AE Button Plus to remap it to any other key press (perhaps by using my VJKeyPress). Then your game won't have fits when you press it.
V

Yeah, when I said minimise I meant that it shows the Today screen, and apps behave in the same way as if they're closed using the X - they don't really close, I know that for certain because... Well, that's how Windows Mobile (stupidly) behaves, and Switch shows them as still open.
I'd forgotten about your programs which can intercept keypresses and remap stuff... I must check those out sometime.

Does anyone know what I actually put into the config file, as in, the number or the words from that list or what?

mrsnoopy: I've never tried your game. Quote a few of the settings here and it should be easy to guess. I'd imagine the number though, not the words. Eg escape should always be 27 (or 1B if it's in hex).
V

awesome game in its day
used to play it on my 486 with 1 meg vga ram , yea !
Does it still have the taunts when u used to press an F key (in LAN multiplayer) come get some 2: who wants some 3:what are you some bottm beating scum sucking alge eater 4:it hurts to be you 5: your going to pay for that 6: wasted
cant think of any more .
much better in multiplayer , that work on the phone?

Related

HW keys remapping

Is any useful way to remap the Green and Red Phone button and the volume slider button? I mean for launch application or any function. Thanx.
There are some such programs for volume slider.
The most simple I prefer is attached here.
Just put it to the \Windows\Startup folder. It just "unbind" slider but not remaps it to another buttons. This will allow to use slider as F6/F7 buttons in programs able to hook them e.g. Haali Reader...
Thanx
It seems to be ok but where did you attach it? On my MDA is no offered file to download at this time. ThankU.
I've got it
Ok. Now is the sheet with uploaded file appeared. I've got it and extracted it. After i run the *.exe file it does nothing. Why?
because it should do nothing
This utility just frees slider buttons from default binding to volume control.
If you have an application that understands F6/F7 hardware key pressings (slider up/slider down) you may bind these key in the program.
As for me - I use them to scroll text up and down in Haali Reader text reader program.
But (as I said above) there are another programs to use slider up/down control. Unfortunately I don't remeber where I saw these utilities - but they really exists
And, as far as I'm back to the Andes from (Blue Angel) - I think I will write another one specially for Himalaya/Andes.
Ok, let's wait some days. If there are any results - I'll post the report here
P.S.: BlueAngel is the best HW keys equipped device i've ever saw But...
Thanx once again
Thank you 4 ur help. Now i understand that. And what about the Phone buttons? Any ideas? Ex.I want to use red button as Ok/Close simulation. Any ideas how to do that? Thanks.
Nobody unmaps phone buttons. It is possible but unresonable because of HTC is a phone device also. But I'll implement this feature too.
OK
I will wait for it.
The very first (and buggy) try of HW remapping utility is done. The application setup is available HERE
After installing .CAB file go to Start -> Settings -> Buttons and see the changes...
DO NOT INSTALL THIS APPLICATION ON BLUE ANGEL!!!
It will hide four lower hardware buttons until hard reset!
1. This app was tested on Andes with WM2003se, but should work on Himalaya/Magican with WM2003 and above
2. You will lose the possibility to use hardware key mapping in other applications forl remapped buttons. I need to re-grab buttons from time to time because the system tries to thieve them from me
3. Currently I don't now how to emulate green and reed buttons functionality after unbinding them from the system.
4. I can count any number of button pressings (3,4,5...), but -
5. WinCE reserve codes for only 15 hardware buttons (40C1..40CF)
There are some ideas for future improvement. But it would be nice to know your thoughts.
Just to "stimulate": I can create settings screen during setup to allow flexible configuration where you will
- choose which buttons to handle and how many key pressings to detect;
- choose option to unbind and/or re-map volume and phone buttons
- ???
And let me take a time-brake for 2 days before next programming session
The utility is ready. It allows you to:
remap each standard hardware button to 2 or 3 "virtual", simulated via double or triple clicks;
use volume slider to simulate Up/Down direction keys or create additional "virtual" hardware buttons;
remap Red and Green phone buttons to 1,2 or 3 hardware buttons each.
In a result you may create up to 15 hardware buttons (system limit)
Just install program and check Start -> Settings -> Buttons.
Here is Oficial AEBPlus home page, full desktop-based setup (~27K) and Direct link to CAB file (~30K)
Well done!
Excellent software! Thank you once again for your work. Works very very well!
man this is great really like it
works perfect :lol:
Seems to work great. Haven't had it running long enough to see if the camera button will get stolen back (big problem for me on XDA IIi), but being able to map the volume is great.
In the next version any chance of adding an <enter> option like Vito Button Mapper which I think just sends a <carriage return> to select whatever is highlighted.
Is "<Ok/Close>" option in button settings applet not the same?
NO, <OK/Close> generally tends to close the current window rather than selecting whatever is highlighted.
Also whatever application keeps on stealing back the camera button is still doing it. I don't know if it is part of the UK O2 customisations or the core PocketPC Rom, but eventually whatever function is mapped to the Camera button gets re-mapped back to the camera. This also happened to me with the standard button mapper and Vito button manager. It's a little annoying since the camera button is the most usefully positioned, and it is also easily knocked, starting the camera at awkward times.
Ok, I'll add this option for camera button (a bit later, in a case other suggestions arrives).
As for the re-hooking button by camera application: AEBPlus initializes all of the buttons from time to time. Currently this take place every 30 seconds. So if you will wait a bit - all buttons should be re-grabbed again
This does not seem to help because whatever application that is resetting the camera does it in the same place as you are storing the button mappings. When I go into the Buttons Setup it will now say that the Camera button is mapped to the Camera.
Yes,I see... It looks like Camera application is a pushy application . The solution is to remap "normal" Camera HW button to 3 press instead of one, but I don't like this.
Anyway - utility was released.
New features: added option to emulate Enter key with Camera button.
Hi AE, your utility is great. It is very useful but SIMPLE and SMALL.
I used it instead of other button mapper software.
There're some issues need tobe improved:
1) Mapping "Green" and "Red" button:
Enable mapping when they're iddle only (phone function does not work).
E.g: I'd like using Red button to close running app. But in phone function, Red button is still used to hang-up the phone as original its function. Anytime I have a phone call, I can use Red button to cancel a outgoing/incoming call.
You can refer the program of mamaich in this web site.
2) Single press is too low:
I press a key one time and wait 5 secs or more until it works. It's too slow. Can you improve? Double-press is OK.
3) Press n hold:
Can you add "single press n hold" for all hardware-keys? I think "single press n hold (after 3-3.5 secs)" is more convenient than "double press" or "tribble press". Do you think so?
Hi AE, very usefull application! Is there any way that we can have an options screen, where we can change the key options we get after installing the app? That would be easier to edit our preferences if we want to make changes to our initial choices. Furthermore I added a Mortbutton to one of your simulated hard keys. Each Mortbutton can show a list of 12 apps for a buttonpress. That means That I can now bind more than 60 apps to the buttons in total! Very good for one-handed use of my Magician, thanks!

How to assign new buttons?

I'd like to be able to hold a button (other than Button 5) and have it execute a command/program. Can it be done?
ie. Hold OK button to launch X program? I've googled with no luck.
Search the forums. There is a thread by Sleuth255 (?) with the title PTT Function Hacked or something similar.
I found that thread. But it's doing what my TyTN does anyways... allows you to hold the button 5 and launch. I need that function for the other buttons as well.... unless I'm missing something.
i use ae button plus for this.
its free on a trial with a popup on phone phone startup, or $7 to unlock.
its FANTASTIC. interface isn't overly intuative to setup, but basicly you can have
1 click, 2 click, 3 clicks and press to hold on *all* the hardware buttons do different things.
its also got a reasonalbe app switcher built in, and way to turn the screen off and lock the keys if you want your media to keep playing when the phone in in a lower power state. *(not sure how much this saves in terms of power, but the key lock is why i use it)
For example,
my internet button (up and right of screen) is now set to
1 click - Load IE,
2 click - Load MusicID (listens to any song being played and then tells you the artist and track)
3 click - Load tomtom (usfull so i can switch between messages/phone calls and tomtom when driving quickly.
press and hold - turn off screen and lock keys for media playback.
Wish it was more popular i think its a fantastic application! you should give it ago.
as an aside note, i think there is a reg hack to do the press and hold on other buttons, but honestly do your self a favour and try
http://ae.inc.ru/aebplus.php
(website looks Naff!!! but good app)
Thank you. Exactly what I need. Cheers.

Button assignment. Any ideas?

The lack of hardware keys (without the keyboard attatched) on the x7501 was my biggest reservation while deciding to buy it. Now I'm having trouble with AEBPlus and HButton (would be perfect if I could use AEBPlus & assgn Hbuttons to the Long Press mode, but it doesn't work). I can't seem to get the flexibilty in button assignments like I had wiith my wizard, I think because a lot of the long keypresses are OS assigned and not UI available.
I don't want to start reg hacking in my random ways if someone has more experience, or better software ideas, and would be willing to share it.
(I keep my unit in the case without the buttons locked when it's in standby, so if I hit a hdwe key, I only have to do that once to get a specific Mortbutton menu up. 2 gestures to anything is my goal. Hbutton often can allow only 1, but I only get 2 keys out of it CommMgr/Record & Camera, my "IE" button longpress seems to be commandeered by VueFlo (cute but pretty useless). If I use that the AEBPlus doesn't seem to work on the other keys.)
UPDATE: I reinstalled AEBPlus, this time with the PC/Activesync installer instead of the cab. The cab installation I did didn't seem to change things. In any case, AEBPlus is working now.
Thanks!
Janis said:
The lack of hardware keys (without the keyboard attatched) on the x7501 was my biggest reservation while deciding to buy it. Now I'm having trouble with AEBPlus and HButton (would be perfect if I could use AEBPlus & assgn Hbuttons to the Long Press mode, but it doesn't work). I can't seem to get the flexibilty in button assignments like I had wiith my wizard, I think because a lot of the long keypresses are OS assigned and not UI available.
I don't want to start reg hacking in my random ways if someone has more experience, or better software ideas, and would be willing to share it.
(I keep my unit in the case without the buttons locked when it's in standby, so if I hit a hdwe key, I only have to do that once to get a specific Mortbutton menu up. 2 gestures to anything is my goal. Hbutton often can allow only 1, but I only get 2 keys out of it CommMgr/Record & Camera, my "IE" button longpress seems to be commandeered by VueFlo (cute but pretty useless). If I use that the AEBPlus doesn't seem to work on the other keys.)
Thanks!
Click to expand...
Click to collapse
AEButton will generally do long presses, double presses, and triple presses... if they are available. As you mention, this seems to be a hardware problem. Example, the "e" (internet) button uses the long press to activate/deactivate the motion sensor within your browser.
As a former Wizard owner, I know where you are coming from. Remapping the "e", "record", and "Win" buttons has given me about 9 quick launches, one of which is WkTask which gives another 12 on a pop-up panel--not to mention showing all open windows on the top bar. Also, the big screen makes iLauncher usable. And I still use good-ole SmallMenu. So I'm doing OK with opening things quickly. But I do miss having all those button launches from the Wizard.
Doing better
HButton and AEBPlus don't play well together at all.
I'm on AEBPlus, post flash, and don't get any long-presses, but I have 3 possiblilities on each of the buttons. Along with MortButtons and actually using the CommMgr instead of hdwe keys, I seem to be getting along well enough.
I had the basic edit commands (select all, copy, cut, paste) assigned to a key in AEBPlus, and turn on/off BT and WiFi. That's what I miss. I use MortButtons for it now, so it's a two-step process, but it works.
The problem with "long keypress'es" for many buttons like Ok/Win/VueFlo etc) is caused by keyboard driver implementation and may not be resolved on application level. The button driver returns both "key was pressed" and "keys was released" events simultaneously, right after button was phisically released. So application could not define time period button was in pressed state to decide if it was long or short keypress...
As for BPlus configuration for my Athena (I have no keyboard at al and use bplus only):
* Button 2 (40C2): (IE button)
1: Call default handler
2: "Messaging"
3: "Notes"
* Button 3 (40C3): (wireless manager)
1: Rotate Screen
2: Show Actions Menu
3: Switch Flashlight Off/On
* OK key (4075):
1: Press Green Button
2: "Contacts"
3: "Calendar"
* Windows key (405B):
1: "Notes"
2: "File Explorer"
3: Show Actions Menu
* Enter/Action (000D):
1: Call default handler
Long: Task Manager
* Volume Up (0075):
Change volume or...
1: Volume Up
2: Backlight Up
Long: Backlight Level 10
* Volume Down (0076):
Change volume or...
1: Volume Down
2: Backlight Down
Long: Backlight Level 1
Action menu items:
Rotate Screen
Switch BlueTooth off/on
Switch WiFi Off/On
Trigger Online
Disable "Power off if not used"...
Device Lock
Click to expand...
Click to collapse
P.S.: I reviewed this forum very occasionaly so you'd better to ask me via e-mail if any
AE, love the program but have one problem. The "ok/close" function is never "close", just always "ok".
The only way that I know of to map the OK button to really be "ok/close" is to configure an hbutton key to be "ok/close" and then use AEbplus to make that hbutton.lnk to the OK key. It's a bit convoluted and requires both programs being loaded and running (hbutton uses more memory than aebplus), but it's the only way to make it work.
Any way to fix the "ok/close" function in AEbplus? Even when there is an "X" in the upper right corner, AEbplus only minimizes the app, never closes.
Has anyone tried remapping or assigning the keyboard buttons to launch applications?
===
Is it possible to get the Half-Press-Function of the Camera-Button assigned for normal working(windows-mode, not camera-mode)??
greetz

Need dev help with reading volume up/down keys

Hi !
I'm writing an app (which i will post here for free ofc) and i'm trying to read the volume up/down keys. I also need to stop them from displaying the volume slider and changing volume while my app is running, i.e. inhibit default behaviour. And since my app will run in the background i want the rest of the keys to function as normal.
If you can help, please post here.
I would really like concise answers, not something like : "try to hook the keyboard driver and see what you get".
Don't ask what my app will do, i won't tell until it's ready (a beta will be available as soon as i can read the keys, i got the rest of it ready).
Thanks,
RPG
Sorry I will give you a "try to hook the keyboard driver and see what you get" like answer ;-) but did you get that keys were hardware specific ?
Sometimes those keys are mapped to Up and Down.
I have no problem in asking the user: press volume up key, press volume down key, so that it works on any machine (or maybe he wants to use different keys). The problem is that GetASyncKeyState for example has no idea those keys are pressed. And even when it works for some other keys (GetAsyncKeyState reads them), those keys still go to the system and stuff happens (like i said, i want to inhibit default behaviour).
Don't post if you don't know what GetASyncKeyState does
RPG0 said:
I have no problem in asking the user: press volume up key, press volume down key, so that it works on any machine (or maybe he wants to use different keys). The problem is that GetASyncKeyState for example has no idea those keys are pressed. And even when it works for some other keys (GetAsyncKeyState reads them), those keys still go to the system and stuff happens (like i said, i want to inhibit default behaviour).
Don't post if you don't know what GetASyncKeyState does
Click to expand...
Click to collapse
I'm guessing C++, which I have no knowledge in, however, briefly looking at the MSDN article on GetASyncKeyState, I'd guess the list on vijay555s site for VJKeyPress uses the same key codes...
So,
Code:
VK_VOLUME_DOWN 174
VK_VOLUME_UP 173
from here
l3v5y said:
I'm guessing C++, which I have no knowledge in, however, briefly looking at the MSDN article on GetASyncKeyState, I'd guess the list on vijay555s site for VJKeyPress uses the same key codes...
So,
Code:
VK_VOLUME_DOWN 174
VK_VOLUME_UP 173
from here
Click to expand...
Click to collapse
Like i said, i already tried that. Doesn't work.
RPG0 said:
Like i said, i already tried that. Doesn't work.
Click to expand...
Click to collapse
Then, I'm sorry, but I'm clueless
bump !
I'm really close, i just need the way to read the keys
RPG0 said:
bump !
I'm really close, i just need the way to read the keys
Click to expand...
Click to collapse
Do you need them within your program, or to be redirected to your program (as in, the volume keys open your program)? In the Diamond volume control app, there are some reg keys for opening that program rather than the WM volume control applet...
I need them in my program.
Right now i do have them redirected to run my prog, for tests, but it's not the way i want it.
What i do need is a way to know in my prog when that key is pressed and when it is released. Again, my app will run in the background, so i need the rest of the keys untouched.

Remapping scroll functionality

I have a MAPL100 and downscrolling on the trackball has stopped working. It works sometimes, but usually it takes me 4 or 5 flicks to get it to scroll once.
That said, is there a way to remap one of the keys in the bottom right (Camera button, mail button, and inner circle key) to perform as a downscroll? Like a virtual directional pad.
Or remap a volume key?
More thoughts: the inner circle key can be customized via settings to launch a program. Is there a program that does nothing except send a scroll down signal?
Likely not. How hard is it to make one? I've hardly programmed for WM but I know .NET well so if you have any pointers towards such a program I would much appreciate them.
Thanks
Bumping this. I can't scroll down OR left!
Hi, why don't you try to flash a 3VOLUTION SERIES ROM, they have a button configuration functionally which gives you the option to configurate for long press and short press several buttons, otherwise you could try by installing SmartToolKit or AEB Plus button configurator, however in my experience these apps don't work well with stock roms as they can't seem to register the key remapping; unless of course the issue was with the sd certificates, now I couldn't tell as I'm already on the latest 3VOLUTION SERIES ROM.

Categories

Resources