Locking the Volume Buttons - Touch HD General

I see this is a problem on the Omnia too, but when I lock my HD by holding down the call "End" key (Right Hand touch pad) the volume buttons are not locked!
Has somebody provided a tweak/fix for this calamatous feature?

Sorry, I don't know of a fix. Maybe third party apps that can assign another function to the volume buttons??
But the plus side of this feature is that when you are listening to music, you can put the phone on standby (to avoid accidental presses in your pocket), but you can easily reach into your pocket with your finger and turn the volume up or down without having to wake up the phone. Of course if you use headphones with volume control on them, then you don't need to reach in your pocket.

The volume keys will never be blocked. You cannot block them
you can try to use AEButton Plus and SKSchema!
You must make 2 different config files in AeButton, one wich leaves the Volume Buttons as they are (Default) and one disabeling them. Now you must make a script with SKSchema, wich changes everytime the Block starts or ends the config file of AeButton! This way you can use one Button configuration for the application "Phone Locked" and the other configuration for everytjing else!
Here is the instruction:
Save your default AeButton Settings (are located in the AEButton Program Folder) lets save them to \My Documents\AEBPlus Default\AEBPlus.cfg
now configurate AEButton with different settings (for example disable Volume up/down keys), lets save this cfg file to \My Documents\AEBPlus Locked\AEBPlus.cfg
Open SKSchema, type this script:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Locked\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
the sense of this is to change the cfg files and to reinitialize AEButton
Save the Script as AEButtonLocked.sksc
Now we write a new script to do the opposite (change to default configuration:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Default\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
Save the script as AEButtonDefault.sksc
Now we configure SKSchema to monitor for 2 events: opening our application (device lock) and closing it: add a new event in the SKSchema monitoring configuration: when the device lock application opens or closes start the scripts. (they are locates in
Code:
\My Documents\sScripts[/B])
so type this: [B]#c[[COLOR="Red"]shutil.dll[/COLOR]] #on[\My Documents\sScripts\AEButtonLocked.sksc] #off[\My Documents\sScripts\AEButton.sksc]
I DONT KNOW the lock Application EXE wich is running i hope it works..shutil.dll should maybe be rplaced with a EXE ...use some locker with a running exe (S2U... TouchLockPro (my favorit ))

You could lock the device when the stylus is putted in. This has two major advantages. You won't loose your stylus and you won't let your device unlocked.

Mobilemagic has a quirk in it that when you assign the buttons to a multi press application it disables a single press. See post 203 in this thread. It works great for me.
http://forum.xda-developers.com/showthread.php?t=449654&page=21

Great post Koffein, thanks. Actually TouchLockPro looks exactly what I'm after (and I didn't even know I needed it), I'll give it a try and see if it works for me. The usability of this device is getting so much better by the minute thanks to you xda guys!

Glad I could help, here are some tips for using TochLockPro
In Registry goto HKCU\Software\ZuinigeRijder\LockSettings\
and set the D-WORD "UnlockOnLightSensorTime" to 300, now your device will be unlocked after a shorter time period (0,3 sec) when it wakes up and "sees" light.
For me it is the best unlock method in the pocket it stayes locked, if it is activated accidently,
but when i activate it in a not too dark room while it is in my hand it unlocks automatically.
Adjust the other values if you want to customize it more

Related

Remap Softkey and volume button

Hi,
Here is my contribution. The program will remap the softkey buttons and volume buttons:
tap soft key = orginal soft key functions
tap and hold left soft key = start menu
tap and hold right soft key = close/ok button
volume slider at the left = page up/down
You can also use the DPAD to do some extra actions in phone app.
NOTE: If you got notification error, please run smartskey.exe and then run smartskey.exe to close the app. The program will now close all notification that relate to smartskey when it is closed.
Update:
0.60 (2007-08-23)
Fixed: Make DPAD function work on WM6
Fixed: Fix DPAD function not compatible with TomTom
0.56 (2006-11-17)
Fixed: Fix compatibility with CeleDial
0.55 (2006-11-15)
Fixed: Compatible with CeleDial
Fixed: DPAD function will call default Contacts/Text Messaging instead of calling original Contacts/Text Messaging directly. So if you have installed any third party replacement, it will be called when DPAD in Phone app is pressed.
0.54 (2006-11-06)
Fixed: Endless loop when using “OK” button of keyboard in Wizard.
0.53 (2006-06-23)
Fixed: DPAD on will not affect TomTom and calendar
Fixed: remove notification routine will remove all paths so that it will not prompt wrong notification path anymore when user change the location of the smartskey.exe
0.52 (2006-03-26)
Fixed: DPAD functions still apply in SmartDial dialog.
0.51 (2006-03-20)
Fixed: Can use volume key to switch to vibrate, off mode by volume slider
Fixed: Exception List will not check the classname of the window as well, so you can also put applications that will change title in the list.
Added: change the behavior of the dpad, and user can set the action for each direction using DUP, DDOWN, DLEFT, DRIGHT
0.5 (2006-03-19)
Add: DPAD, use dpad for additional action (call log, messaging, programs, contacts) in phone app.
Add: VOLUMEONTODAY, volume key will check the topmost app is today or not
Fxied: improve force closed function.
0.41 (2006-03-11)
Fixed: will not overwrite ini files
Fixed: make executable smaller
Added: PAGEONEXPLORE, use soft key to scroll page in “Programs”
0.4 (2006-02-25)
Fixed: rewrite force closed function again
Added: VOLUMEONPHONE, volume key will check the topmost app is phone or not
Added: REMOVEDUPSDDAEMON, automatically remove duplicated sddaemon events.
Added: OMAPCLOCK, omapclock wrapper to set clock automatically after wake up.
Added: STARTMENUMETHOD, provide alternate method to popup start menu.
...
water
THanks!
Great!
Hi Water,
Great little program! Very useful!
Wouter
very good. With your soft and with xbar I can use my wizard with one hand only...
thanks
does "close" function really close the app, or it is a standrad Windows "close"?
And... If you share the source code... ;-)
Now do exactly as pressing the OK button on the keyboard, so hide only. Actually close is much easiler in programming aspect
[feature request]
is there a chance then that at some stage of the development of the tool it would actually ok/close, and not ok/hide the apps?
[/feature request]
That is a nice idea (I just got my 8125 and I was thinking of that EXACT setup)
One thing I would ask for, if its not too much trouble...
Can you make another progy that does everything (start menu and ok/minimize) except the volume scroll? I like to change the volume while in a call and such.
Thanx and really nice job; Lew
EDIT: Better idea.
Include a config file for the program, here's an example.
Code:
LeftSoftKey = 1 // 0 = default 1 = hold for start menu
RightSoftKey = 1 // 0 = default 1 = hold for ok/minimize 2 = hold for ok/close
VolumeScroll = 0 // 0 = default (volume control) 1 = Scroll
I think that's a good idea. Let me know what you think?
Later; Lew
Is it easy to re-configure the tap and hold functions??
okay, add one more version without volume keys remap. For close button request, I may do it when I am free.
The program cannot be configured because actually no interface.
wow man. thanx for such a fast response . I was just in bed when I decided to check one last time (from my wizard of course)
So can the settings for the program be set by a config file? Can it read the the cfg file and use the settings in it as variables for how it will handle the different key press events?
Thanx again... awsome sauce man!
Later; Lew
Is it possible to automaticly switch beteween volume when using the telephone and prev/next page if the telephone is not used.
This would complete your program.
Ferry
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is fantastic! Thank you very much water.
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
lewcamino said:
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
Click to expand...
Click to collapse
delete the shortcut from startup, and then restart the phone.
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
lewcamino said:
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
Click to expand...
Click to collapse
you can't delete it because it is running. stop the process (memory cp app) and then delete it.

HardKeyMenu v.3.2

Hi all,
i would like to share with you a utility i have written to help me with my PDA.
Mainly (as the name says), with this utility different programs can be started by using the keys of the PDA.
Its like an extension of the hotkeys but without impacting the hotkey usage.
I have included one more utility which i use together with the hardkeymenu called cscommandline.
Information is included in the cscommandline-spec.txt.
This utility can turn on/off the bluetooth, set the global volume to a value, set the ringer volume to a value,
set the ringer script to a value (this enables the vibration during the alert of calls etc).
I have tested it on a TyTn with WM6 but it should work under WM5 as well.
Link for the whole package is at:
http://rapidshare.com/files/84951586/hardkeymenuv32.zip
>>>>>>>>>>>>>HARDKEYMENU
Usage
-----
Hardkeymenu extends the usage of hot keys:
Its possible now to assign any program (.exe) or registered file to be executed with a
combination of user defined key strokes.
It provides feedback (picture/sound/vibrates) of the options selected.
The program works as follows:
Once the hardkeymenu is executed, it will read the hardkeymenu.dat and wait for keystrokes.
The program if it finds within the same directory the file hardkeymenup.jpg (when in portrait)
or hardkeymenul.jpg (when in landscape) will use it as a background picture. Otherwise, it will
use the current desktop as a background picture.
If any matching sequence is found, then the relevant description (or picture if present) will be displayed.
If the user does not press any other key, then the relevant sound will be played (if present), the corresponding
program/file will be executed and hardkeymenu will terminate.
If no matching has been found, it will wait for 7 seconds and if no key is pressed it will exit.
If the nomatch.jpg picture is present then it will be displayed otherwise it will display
the key sequence.
The hardkeymenu can be assigned to a Hot-key for quick start up (usual Registry setting,
for example: HLM\SOFTWARE\Microsoft\Shell\Keys\40C7)
Setup/StartUp
---------------------
Setup
-----
The combination key sequence and command can be created by running the setup option.
This option appears when clicking anywhere on the screen while the program is running
and a popup menu will appear with the relevant 'Setup' option.
Through the Setup screens,
- the 'Description' to be displayed when the key sequence is found, can be set. If there is a file with the
same name and extension .jpg then it will be displayed instead.
- the 'Keys' (key sequence that is supposed to trigger the command that follows), can be captured by pressing the relevant
button 'Capture'.
Keys can be pressed and the program will display them for reference. To complete the capturing wait 5 seconds without
pressing any key and the capture screen will exit.
- the 'Command Line' (file to be executed) can be also selected. Pressing 'Browse' will display all files in the PDA and clicking on the
required file will fillin the command line.
- 'Command Parameters' (any optional parameters that might be required together with the command line) can be
keyed in.
- 'Sound', if checked then after selection before executing the 'Command Line', if a file with name 'Description'
and extention .wav will be played.
- 'Vib Scr.', is a script for Vibrating before executing the command. Letter L will produce a Long vibration, S will
produce a short one.
'Description', 'Keys' and 'Command Line' are required, if either is not set then the whole entry is ignored.
Navigation through the total of 20 entries is feasible with the 'Next' and 'Back' buttons.
A whole entry can be ignored by pressing 'Delete'.
Pressing 'Done' saves all the changes (No need to save one by one), 'Cancel' will ignore them all.
StartUp
------
- 'Sound', if checked then if a file with name 'waiting.wav' exists it will be played when the program starts.
- 'Vib Scr.', is a script for Vibrating as soon as the program starta. Letter L will produce a Long vibration, S will
produce a short one.
Installation Instructions
-------------------------
Copy all files provided to a directory of your choice (Including Storage Card).
All files including pictures mentioned must be located in the same directory.
Note:
if the message 'Wrong Version' appears, then delete the hardkeymenu.dat is the latest version is not
backwards compatible with the previous.
Log
----
19-01-2008:
Updated cscommandline to support ringer script.
12-01-2008: Version 3.2
- Added vibration support in the form of a script.
04-01-2008: Version 3.1
- Added Sound support as confirmation
If a file with the same name as the 'Description' and extension '.wav' exists in the directory of the hardkeymenu
the sound will be played as a confirmation while running the relevant program.
- On main screen a count down is showing the seconds left before the program exists if no key is pressed.
- Bug fix
03-01-2008: Version 3 - Added Setup option, stopped using ASCII File.
26-12-2007: Version 2 - A simpler remake of version 1
Below are some screenshots (remember that most of the pics including background can be customized).
Can you post any pics? things will goes interesting only with some screenshots hehe
Pics added,they are from the simulator using my own pics but they can be replaced with any other.
Very nice and unique.
I tied some of the directions on my dpad to some .exe's and got a certificate error? If i link to a lnk of the same .exe it works fine.
It would be awesome if a future version had a easier method of setting up the buttons to the desired path.
Good job Chrisstavrou! Thanks for sharing!
Thanks andason.
It looks like this certificate error pops up only with the first attempt to execute any program.
Is this correct ?
I am trying to figure out why this is happening but it looks that this message comes up when any program is first time executed in the PDA even from explorer.
I am adding a small setup form to help assign the keys as you mentioned.
Thanks
Chris
Version 3 is out
Included the setup option, no need to play around with the ASCII file.
Link has been updated in the first post.
If anyone has any comments etc let me know.
Cheers
Chris
Well another change as when using it, i wanted to hear a sound as a confirmation of what i had finally selected
I have included in the zip file some wav files as samples together with the pictures i am using to turn on/off bluetooth.
Have fun, any comments are welcome.
Chris
Added vibration support.
Changed cscommandline to support controlling of the ringer script

Custom events/profile manager - user interface design

Hi,
As some of you already know, I'm working on a touch UI (www.touchxperience.com) which will include an integrated profile manager. But it won't be a simple profile manager, it will allow you to create what I called "Custom Events", to execute predefined actions when a certain event occurs.
I would like to hear suggestions or advises from software design experts as well as end users about how should be designed user interface.
The principle is simple, each custom event is defined by:
A basic event (application changed, location changed, new message, new incoming call, battery charging, device cradled, headset connected, Wi-Fi network detected, internet connection detected, keyboard open,...)
Eventually some conditions (date/time, current application, current location, specific words in message, caller identity,...)
An action (launch application, display notification, enable flight mode, turn on Wi-Fi, change profile, send message,...)
There will be hundreds of events and actions, so possibilities are very large! Here are some examples:​
Enable flight mode during nights
Connect to Wi-Fi while battery is charging
Deactivate alarm when I turn my device face down
Put phone in silent mode at workplace
Remind me to buy bread when I’m near to the bakery
Events, conditions and actions may eventually need some additional info: specific time, application to launch, bluetooth mode (on/off/visible), active application title, message text,...
Also there may be an option to revert back some executed actions, for example:
If you defined a custom event to set max brightness in media player, it will set default brightness once active application changed
If you defined a custom event to turn on WiFi when device is charging, it will turn off WiFi when it's not charging anymore
There will be some predefined custom events that you can activate and customize (commonly used custom events, to be determined, in this way you don't have to create them from scratch).
Finally, you can create profiles and switch between different profiles in one touch. Each profile defines some system settings: volume, ringtones, connections, backlight brightness,...
The user interface should cover any type of usage, for novice or advanced users, so it must be simple but powerful. And of course, it must be finger-friendly!
Don't hesitate if you have any suggestion regarding user interface design or mechanism in general. Thank you!
just wifi
you are smarter than me.
your imagination is stronger than mine.
dreaming from empty is impossible for me.
i would be happy trying out what you offer, when you feel it is ready for that.
at least then i could have base line.
the events you describe when phone is in certain positions (orientation) is
is unbelievable to me.. Majic
when my phone detects wifi, it would be fine if it connects to prescribed known network. if none available, then the strongest Open one would be choice.
and so forth down the tree..
im sorry to start the clutter of useless posts here and you can delete if you want.
as thousands who know you better, i am very anxious for your release..
EDIT EDIT :: i do have one question.. with all these options, how many minutes will many battery last?
even 60min?
Nice idea!
I would love to have this app replace "phonealarm"! Will it be possible to have multiple alarms? I really would love it when my phone would ring every 5 minutes if I have an unread message/missed call. This is one of the most important features. Are You planning on implementing such an option?
Greetz
korbi
This may be implemented in a future version.
Definitely some timed events ie:
From 9 am to 5 pm (typical US workday) the phone goes to vibrate.
From 11 pm to 6 am the phone goes silent for people sleeping.
Is it possible to program the sound to turn on 1 minute before an alarm so that you don't have to keep the sound on the whole time just for the alarm?
That's all I got so far.
- If a meeting is scheduled in the calendar, the phone should set itself to vibrate during the meeting and turn the ringer back on when the meeting is over.
- Activesync.exe can be killed as soon as the phone is unplugged from the USB cable.
- The interface can change its skin depending on the amount of light (Diamond's light sensor can be used) or time of day. (Darker environment = Darker skin so its easy on the eyes)
a few things
1. it is gorgeous! I have never seen an interface like that and I would love for it to be in any rom that comes out. That said
will this be released on legacy devices (titan specifically)
2. I assume also the menu will have scrolling elements
I have more technical questions though but this is a start
Good to see you're taking suggestions from everyone from designers, engineers and everyday users to advanced users. I have some suggestions which I'll just throw out there [some may be stupid but brainstorming works wonders with intuition and innovation]
Rotate to Activate Camera
- Event: Rotate device to landscape (whatever degree it is)
- Condition: Whilst in Home screen (or in any other screen in TF3D - not limited to just Home and which can be customized by the user as to which screens this will be enabled)
- Execute: Camera Application
Stylus Retrieval Activates Notepad:
- Event: Remove stylus from device
- Conditions: Only when in stand-by mode
- Execute: Unlock device > Open Notepad application
Alternative means of unlocking device
- Event: Double tap screen OR Long pressure hold of thumb/finger on screen - amount of pressure to be defined by user and being able to define this will ensure that accidental unlocks do not occur (e.g. whilst in pocket)
- Condition: Device locked AND Double taps/long holds on screen must be in a certain area of the screen - also definable by user
- Event: Unlock device
Inserting wired Headset opens menu for Phone/Music/Radio selection
- Event: Insert wired headset into phone
- Conditions: Wireless headset is not already paired AND Phone/Music/Radio applications are not already running [in relation to TF3D tab - music is not already playing]
- Action: Open up a dialogue menu for user to select either Phone, Music (user definable music application whether it goes to TF3D Music tab or opens another application like WMP), or Radio application
If I can come up with more suggestions, I will let you know.
hey i think the best thing for you to indigrate into your beautiful ui would be the lock and unlock screen of the Android OS (if possible)
here is the link
http://www.youtube.com/watch?v=JGCIlAwrpvI
Great idea! I've been playing with automatically switching to silent mode when I'm in the vicinity of some cellular towers since 2001, never got it to work though
From a technical design perspective: I would strongly suggest that your application only registers itself to those events the user specified in some configuration. If your program is going to listen to all possible types of events at all times, it will become slow and battery draining. Your program should hook to events as necessary. You could check which events to hook to as soon as configuration changes. You could disable a hook to a specific event once all occurrences of actions listening for that event are done (to check on the moment the event action is executed), such as a one-time alarm.
Keep up the good word, I'm curious about the results in the future
- Daan
Edit: oops, you're asking for user interface design comments. Ghe, look at Apple? Nah, what I've seen from the videos the new interface looks very promising. For the profiles, you might consider letting the user configure some events very user friendly, like enabling some default often-used actions, and let specific events (such as defining the location of the bakery store) be entered by having to draw a stylus (if much user input is required).
Noooo!!! Schaps this is awesome! I hope I'm within 30 days to get a refund on Spb Phone Suite !
Hi Schaps,
Here is my idea: Add function key + shake to do more. Like:
1) Hold Down the Vol Down Key + shake horizontal = Play Next Music/SMS/Email/Photo (As user config)
2) Hold Down the Vol Up Key + shake horizontal = Play Previous Music/SMS/Email/Photo (As user config)
3) Hold Down the Action Key [The Round Button] + shake to Right = Move the TouchFLO3D Tab to Next Right Tap
4) Hold Down the Action Key [The Round Button] + shake to Left = Move the TouchFLO3D Tab to Next Left Tap
5) Hold Down the End Key + shake = Close all application
6) Hold Down the Phone Key + shake = Open the Contacts List
7) Hold Down the Back Key [←] + shake = Switch to Next Running application
8) Hold Down the Home Key + shake = Open your favorite application
9) Hold Down the Power Key + shake = Turn the LCD in WHITE and MAX the Backlight, So Diamond become a supper flashlight!
10) When not press any key + Rotation = Auto-Rotation just like GSen
See the Diamond can do a lot of things and iPhone can go back to home
What did you think?
Can you make it so that the phone can be set to turn on and off automatically like a blackberry?
Backwards compatibility and another idea
Will this be backwards compatible in any way in order to use on the Wing/Herald, until I can convince the wife that the HTC Diamond is the way to go...not the idrone?
Second, how about the ability for the phone to activate a specific program or two when it detects my bluetooth gps in the vicinity? Or to go to a specific mode when my bluetooth headset connects and to port all audio to the headset (another program activation)?
Maybe to activate a program, like a mapping program when the gps is active and moving over 20 mph... like an automatic navigation system.
*****
The biggest feature is the automatic profile changes... screen brightness, volume, ringtone, maybe a program, based on time of day or location.
It must also never interfere with the regular operation : Phonealarm would make my screen go blank when I looked at incoming messages. It would then interfere with the solid orange "charging" light quite often, making me wonder if my cord was bad.
Huey85 said:
Good to see you're taking suggestions from everyone from designers, engineers and everyday users to advanced users. I have some suggestions which I'll just throw out there [some may be stupid but brainstorming works wonders with intuition and innovation]
Rotate to Activate Camera
- Event: Rotate device to landscape (whatever degree it is)
- Condition: Whilst in Home screen (or in any other screen in TF3D - not limited to just Home and which can be customized by the user as to which screens this will be enabled)
- Execute: Camera Application
Stylus Retrieval Activates Notepad:
- Event: Remove stylus from device
- Conditions: Only when in stand-by mode
- Execute: Unlock device > Open Notepad application
Alternative means of unlocking device
- Event: Double tap screen OR Long pressure hold of thumb/finger on screen - amount of pressure to be defined by user and being able to define this will ensure that accidental unlocks do not occur (e.g. whilst in pocket)
- Condition: Device locked AND Double taps/long holds on screen must be in a certain area of the screen - also definable by user
- Event: Unlock device
Inserting wired Headset opens menu for Phone/Music/Radio selection
- Event: Insert wired headset into phone
- Conditions: Wireless headset is not already paired AND Phone/Music/Radio applications are not already running [in relation to TF3D tab - music is not already playing]
- Action: Open up a dialogue menu for user to select either Phone, Music (user definable music application whether it goes to TF3D Music tab or opens another application like WMP), or Radio application
If I can come up with more suggestions, I will let you know.
Click to expand...
Click to collapse
You understood good custom events mechanism, this some examples of actions which will be possible. Now the challenge is to design a clear user interface to manage custom events.
Wolfblood said:
Hi Schaps,
Here is my idea: Add function key + shake to do more. Like:
1) Hold Down the Vol Down Key + shake horizontal = Play Next Music/SMS/Email/Photo (As user config)
2) Hold Down the Vol Up Key + shake horizontal = Play Previous Music/SMS/Email/Photo (As user config)
3) Hold Down the Action Key [The Round Button] + shake to Right = Move the TouchFLO3D Tab to Next Right Tap
4) Hold Down the Action Key [The Round Button] + shake to Left = Move the TouchFLO3D Tab to Next Left Tap
5) Hold Down the End Key + shake = Close all application
6) Hold Down the Phone Key + shake = Open the Contacts List
7) Hold Down the Back Key [←] + shake = Switch to Next Running application
8) Hold Down the Home Key + shake = Open your favorite application
9) Hold Down the Power Key + shake = Turn the LCD in WHITE and MAX the Backlight, So Diamond become a supper flashlight!
10) When not press any key + Rotation = Auto-Rotation just like GSen
See the Diamond can do a lot of things and iPhone can go back to home
What did you think?
Click to expand...
Click to collapse
I have been working on it, but it's still experimental.
Hi Schaps,
One more things, At point 10) maybe the TouchXperience UI should be have a config manual to list out all installed application in Diamond (Listed on \Windows\Start Menu\Programs\ & \Windows\Start Menu\Programs\Games) Let user choose (Make a tick box?) what application have Auto-Rotation function or not. Because as I try some application is not good or not support Auto-Rotation like below:
- Manila
- Teeter (Game)
- Opera
- htcalbum
- cprog.exe
See you later
Is it possible to skin your interface? If not, would it be possible to make a skin section like ThrottleLauncher has so all you have to do is copy files/install a cab and go to that section and change the skins. Or is all the skining part hardcoded?
schaps thank's for your nice work
i attend the your program
but work on htc elf?
Kraize92 said:
Is it possible to skin your interface? If not, would it be possible to make a skin section like ThrottleLauncher has so all you have to do is copy files/install a cab and go to that section and change the skins. Or is all the skining part hardcoded?
Click to expand...
Click to collapse
That'd be quite a treat for users to be able to customize skins. +1 for skinnable interface!

[APP][Feb 12, 2009] X1BC (X1 Button Controller) v1.1 Released

X1BC v1.1
X1 Button Controller
Feb 12, 2009
By Jonathan King​
Description
This program is released open source. Contact me if you would like a copy of the source. The program is capable of capturing both short and long presses of panel key, ok key, L/R softkeys, up/down volume keys, and the win key on the slide out KB. The camera half and full press can also be captured and fully configured for short and long half press, as well as short and long full press. Also, the camera key will be ignored while the camera program is open. Capturing each key is all optional. They can be switched by the registry keys detailed in the next post. By default, if the reg keys are not there, none are captured. You can capture the long press only, short and long press, or leave the key alone. Fn key presses are also detected for A, S, D, F, G, Z, X, C, and V keys. Registry strings are used to specify what happens when the key is pressed. You can choose to open execute anything from a program exe to a mortscript to an mp3. You may also configure it to send a character or special key. This allows maximum flexibility.
The program can also make the win key or tab key a ctrl key. There are two modes of operation for each key. For the win key: Short press mode (short press to enable ctrl then press a letter), Long press mode (press letter while holding ctrl). With the tab key, it is still possible to send a tab character: Short press mode (short press to enable ctrl then press a letter; long press sends tab chr), Long press mode (press letter while holding ctrl; short press sends tab chr).
The program also supports vibrate feedback for a press and hold event. The duration is configurable or this can be disabled. Also configurable is the duration you must hold a key for the long press to occur.
To start the key hook, just launch X1BC.exe. If it is already running, launching X1BC.exe again will end the program and restore the keys to default.
Notes
While the panel key is captured, on the ROM I run with no panels installed I still get a popup saying could not find panelmanager.exe. I am not sure what would happen on a ROM with panels installed. To prevent this all together delete the whole registry key HKLM\Software\Sony Ericsson\PanelManager. You may want to back it up first but there is not harm in deleting it. You do need this key if you want to use panels though. But if you do use panels you dont want to remap the panel key anyway.
Capturing the win key on the slide out KB is tricky, but I think I have done it in a way that wont cause problems. It works well as a ctrl key and I havent had problems with it, but I still think the tab key makes a better ctrl key because it behaves like a regular key and is therefore easier to manipulate.
Disclaimer, use at your own risk. I have tested and debugged in the emulator and on my X1. I dont do anything that I think could really cause any harm or data loss. Has never crashed on me at any point during dev. The program does not make any changes to the system. It just runs in the background. If terminated everything works as it did before the program was started. Try it out.
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The default if the value does not exists is 0
The following is also a DWORD but the format is different:
HKCU\SOFTWARE\JKing\X1BC\CaptureCamera
The possible choices are:
0 - Leave the key alone
1 - Capture long and short for half press only
2 - Capture long and short for full press only
3 - Capture long and short for both half and full press
The default if the value does not exists is 0
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamShortAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamLongAction
HKCU\SOFTWARE\JKing\X1BC\FullCamShortAction
HKCU\SOFTWARE\JKing\X1BC\FullCamLongAction
HKCU\SOFTWARE\JKing\X1BC\Fn_A_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_S_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_D_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_F_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_G_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_Z_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_X_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_C_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_V_Action
Each action key can be one of three types: Execution of a file, sending of a character, or sending of a special key.
To execute a file, the string should contain the full pathname of the file to run. This can be an exe, mscr, lnk, mp3, doc, whatever. Enclose the path and file name in quotes, followed by a space, then any parameters if you desire if it is an executable. For instance:
Code:
"\Program Files\App\My App.exe" -p
To send a character, the string must begin with a # symbol followed by the character to send. For instance, to send a "$" character, they value of the string should be:
Code:
#$
To send a special key, the string must begin with a & symbol followed by the identifier of the special key to send. Here are the special keys:
W - Windows key
R - Rotate screen
Q - Send left softkey event
E - Send right softkey event
What other special keys would you like?
For instance, to send a windows key event, they value of the string should be:
Code:
&W
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\LongKeyTimeout
Delay for long key press in milliseconds. The default if the value does not exists is 500.
HKCU\SOFTWARE\JKing\X1BC\LWINCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter)
2 - Long press mode (press letter while holding ctrl)
HKCU\SOFTWARE\JKing\X1BC\TabCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter; long press sends tab chr)
2 - Long press mode (press letter while holding ctrl; short press sends tab chr)
(Note, you may use either LWIN or TAB for ctrl. Not both at the same time. If both of these keys are non zero, the tab key will be used. I recommend the tab key. It is more reliable.)
HKCU\SOFTWARE\JKing\X1BC\SupportMultipleKeyHooks
Here are the possible choices:
0 - OFF
1 - ON
The default if the value does not exists is 0. (Please leave as 0 for now. It does not work.)
HKCU\SOFTWARE\JKing\X1BC\HoldFeedbackDuration
Duration of vibration feedback for a long key press. Set to zero to disable. The default if the value does not exists is 35.
HKCU\SOFTWARE\JKing\X1BC\LandscapeOrientation
Set which landscape orientation the "R" special key will switch to. Choices:
0 - Left handed (correct orientation for the keyboard)
1 - Right handed
The default if the value does not exists is 0.
Known Issues:
-Does not support multiple key hooks (not really a problem as this is an OS limitation but see this post for details)
-LWIN long ctrl mode does not work
Changelog:
v1.1 [2/12/09]
-Added special key (&R) for screen rotation
-Added special keys (&Q and &E) for left and right softkeys
-Fixed bug that cause crash if Fn key was assigned to non existent file
-Will now prevent camera app from opening if you reassign camera button
-Changed format of reg settings for camera button
v1.0 [2/11/09]
-Improved WIN ctrl key support
-Added tab key short and long ctrl modes and registry setting
-Added key hold vibration feedback and registry duration setting
-Added capability to capture fn keys. Registry settings added
-Added capability to send character strokes and special keys
-Added capability to capture half and full camera button press. Registry settings added
-Changed default registry values to reflect correct installation directory for other languages
v0.4 [1/10/09]
-Fixed bug that caused extra long key press in one circumstance
-Fixed bug that caused crash during startup if registry strings were not formatted correctly
-Added option and registry value to change long press timeout
-Added short ctrl key feature and registry option for feature
-Added option to allow other key hooks (doesnt yet actually work)
-Now released in CAB format; CAB presets all reg values and creates shortcuts in startup and start menu
-X1BC now ignores keys by default if reg values do not exist, rather than capturing by default
v0.3 [1/07/09]
-Added registry keys for key actions
-Program now performs key actions from settings
v0.2 [1/06/09]
-Simplified reg settings
-Removed all but "exiting" popup during startup and shutdown
-Rewrote key hook algorithm for better reliability
-Unwanted keys now released to system as set by preferences
Todo List:
-Support multiple key hooks
Downloads below. Please note, the cabs will overwrite existing registry settings. If you want to upgrade from previous version, back up the settings first or just replace the exe. The cabs also place a shortcut in startup and in the start menu.
nice!
would look forward for the program when it's officially released
Heh, nice one Jking. I think the best way to go is to somehow "merge" your app with Dande's. Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry. From what I see so far, you both have the same app, written in a different way, with the biggest change being you using the winkey (which I like), and Dande using the tab key.
I'd like to see where this goes, keep up the good work!
All the Best JKingDev, sorry I can't help. I don't know programming.
The biggest shortcoming of the X1 is the lack of buttons for mapping to apps and task manager. I miss the ease of button mapping on my previous i780.
Looking forward to your end product!
Good idea. Looking forward to this app.
cheers
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Click to expand...
Click to collapse
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Angelusz said:
Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry.
Click to expand...
Click to collapse
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
@Jking:
THANKS for this great idea !!
X1 is missing a dedicated REC key
I desperately need this function
One-touch key press to automatically start recording a voice note
Maybe your software will finally let me use my Xperia as a voice recorder
Thank you for all the support! I am glad there is interest in this. It is nice to give back to this great community. New test version. I rewrote the key hook algorithm to handle the win and softkeys in a smoother way. Shouldnt have any prolems now. Now, if you put in settings to not capture a it should be released to the system like normal. Also changed up the registry settings a little bit to streamline the code. Made note of the new format in the second post. Next step will be to actually perform user specified actions when keys are pressed. It will actually become useful.
For some reason, when I set the grab volume key settings to 0 and completely ignore them, they still dont do anything while X1BC.exe is running. I am not sure if this is my app doing this or AEBP screwing with me since I still have it installed. Does anyone else get this problem?
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
Click to expand...
Click to collapse
I believe this can be done since AEBP does it but I am not sure how. I have a slight idea of what I think it does. It involves adding some registry keys then sending custom key codes. I will look into this after I have accomplished everything else I want with this app. Can't make any promises but I will try.
Dandie said:
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
Click to expand...
Click to collapse
Yes I think you are correct on this. The only advantage is assigning special keys like <rotate screen> ect. Most of those things you can find exe's for or use a mortscript anyway though, and my app will allow you to specify any exe/mortscript/file to run/open anyway.
Dandie said:
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Click to expand...
Click to collapse
Sorry for my impatience. I had lots of free time and was itching to put my coding skills to work. I have wanted to write a button mapper since I owned a mogul (on my 6700 i used pqzII to make the win key a ctrl mey; i missed this functionality) but I never got around to it.
About the panel key, a key hook is able to detect the panel key presses, but for some reason it is unable to prevent the system from detecting it too like it can for other keys. This is why the work around to delete the panel manager registry key is necessary. Once you do that, the system ignores the key. Hotkeys sounds like a good idea. As it is, it works for me. I can try hotkey later though to see if that works out better. Deleting the panel manager key is an easy work around though if you dont use panels.
Well as far as key functions, you will specify via registry key what file/program to open/run. It could be and exe, mortscript, mp3, whatever. I think that allows max flexibility. Run a program directly, or run a mortscript if you have something more complex you want the key to do. The same functionality as yours, the only difference is that this can also run an exe directly as opposed to writing a script to run the exe.
After that, I want to implement the win key as a ctrl ley. There will be four modes. 1.) Disable ctrl key: allow the ctrl key to be assigned for short and long presses like it is now. 2.) Short ctrl key: Short press + letter sends ctrl key while a long press is mappable like it is now. 3.) Hold ctrl key: Hold + press letter then release sends ctrl key, while short press is assignable to something else. 4.) Full ctrl key: both short and hold methods send ctrl key.
Next I will add FN+key combinations to be assignable the way the other keys are (run exe/script/open file).
After that it will be looking into the suggestions of others such as virtual app keys.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
The purpose of using the registry is not really to make things easier, it is just to make things configurable. You may choose what keys to trap and turn the ctrl key on or off. Mortscripts are very powerful and easy and I still give you the option of using them. But if all you want the key to do is launch a program, why launch a script just just launches a program? I give you the option to just launch that program directly.
New version 0.3. Now the keys are fully functional. The program is actually useful now. The registry keys to set for the key actions are detailed in the second post. All fully functional. I have stopped using AEButton plus now as X1BC does everything AEBP was doing. No more AEBP splash on boot. Now on to what AEBP doesnt do, ctrl key, fn keys, ect.
One caveat though. I figured out what the problem was with the volume keys. I use the HTC Blackstone volume control. It seems certain that HTC volume control as well as you tube, radio, ect use key hooks. Even if I tell my program to ignore the volume keys, pressing volume up will bring up the volume control but after that the volume keys wont change it. The reason why is that once HTC volume control pops up it sets a key hook to control the keys. If my app already has a key hook set, HTC VC will be unable to install its own hook, thus cannot grab the keys. I proved that HTC VC uses a key hook by closing X1BC, launching the VC, then trying to launch X1BC. My app reported as expected that it could not install the hook.
I noticed something very interesting a while ago though. I can launch X1BC even while AEBP is running and it will work. I didnt think much of it but now I realize that this is important. HTC VC works fine even if AEBP is running. AEBP certainly uses a key hook. I can launch AEBP first then launch X1BC. If I first launch X1BC then launch AEBP, AEBP wont work. I think this means that AEBP has some mechanism of supporting a second key hook. Probably the same way hookmgr works. I will try installing that and seeing if it makes the HTC programs and X1BC work together peacefully. Ultimately though, I want to give X1BC the capability to support another program setting a key hook. Not a big deal though. The HTC programs still work. Pressing a volume key brings up the volume control then you can control with your finger.
It is fully functional for mapping the hard keys now! Try it!
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
None taken. I'm just trying to add some perspective here. This is a developers site - true. So you can expect some people to be able to work with mortscript - true. But, regardless of any other arguments, there's a lot of users who just don't grasp scripting like with mort's and/or cba to learn yet another language. It's really good to support mortscript, all I'm saying it's nice to have the "easier" and simpler options as well. I will probably get into mortscript soon, too - as soon as university loosens up.
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Dandie said:
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Click to expand...
Click to collapse
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Angelusz said:
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Click to expand...
Click to collapse
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Click to expand...
Click to collapse
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
Click to expand...
Click to collapse
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Dandie said:
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
Click to expand...
Click to collapse
Well I wasnt planning on making a UI unless people absolutely want to. All my settings are easily changeable in the registry. The second post outlines all the available options. When I add the ctrl key and fn keys there will be options for these too. There will also be an option to allow other key hooks if I get that working. Nothing must be done via scripts or other programs. Simply enter in the registry what file to run or open when the key is pressed. Everyone is free to make requests. There is one request to emulate virtual hard keys and I will try addressing that later. I am not trying to match AEBP. I did this a.) becausse AEBP is a bloated all purpose app; mine is tailor made for the X1, and much smaller and lighter; b.) AEBP costs money; c.) AEBP cannot create a ctrl key or grab FN keys; AEKM does, meaning purchasing another application. If there is something more you would like to see the app do let me know. Otherwise, I have laid out everything that is in the plan already.
Angelusz said:
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Click to expand...
Click to collapse
Glad you got that worked out. I thought there would be something of this nature.
Hi JKingDev,
I have tired X1BC for only one button so far (long press ok button to switch to 2nd today). So far everything is working quite nicely.
With AEBP I was facing a significant battery capacity drainage this was for me the main reason to look out for another button mapper. At least in my configuration I was able to reproduce this battery problem (I had 3 buttons asigned with a double click function and the action menue). But this is reported allready (Touch HD forum, because it happens on the Touch HD as well). It is realy a pity, because AEBP is a great application and was the very 1st I was installing on a WM phone.
As long as there is no UI maybe you could do a presetting of all those reg key with a samll cab file? And fill the dword with "0" - I understand that than the key has just its standard behaviour.
Because than I just have to type "only" my individual settings (I am lazy - I know).
For making program starting easier I have the idea to create in the reg keys a path name to a standard link such as
"\Program Files\X1BC\OKLongAction.lnk"
Than I create a new link for the program I want to start, rename it to "OKLongAction.lnk" and overwrite with this new link the one in the standard directory.
This would allow to make changes without playing arround in the regestry all the time.
Best regards & Many thanks for this great tool!
dingolino
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction

VJ KeyPress - Send a '1' to the phone.

Okay, so I'm using Google Voice with call presentation on, and I want to setup a shortcut to send a '1' to the phone to accept an incoming call. I just got a bluetooth watch and I want to be able to have the watch send the key so I don't need to dig out my phone when I'm in the car.
So, to test this a little bit I installed KeyPress and I setup that if I double press my start button in AE Buttons, it runs KeyPress with the parameter of 97. This works perfectly. No issues at all.
But when I try to create a short cut, everything fails. If I just press tap VJKeyPress, I get the little "help" screen. If I create a shortcut, and tap it, I also get the help screen. But when I try to modify the shortcut to pass the '97', then it fails.
I'm guessing that I'm missing something in the syntax, but I can't figure it out.
I have the path, in quotes:
"\P F\vijay555\VJKeyPress\VJKeyPress.exe"
Then I've put 97 at the end just plain, in quotes, in <>, I've put in right behind the .exe inside the quotes... Nothing seems to work at all. I'm at a total loss.
Anyone have a suggestion?
Hi,
Could you send me a screenshot of the configuration screen in AE Buttons.
I can't think why it wouldn't work, but what you could do is create a normal shortcut that launches VJKeypress with the required parameters, and then use AE Button to launch that .lnk shortcut itself, rather than VJKeyPress.exe
Should you get really stuck, VJBrisk might be able to help you, but I think the above should be adequate.
Drop me a PM (and post in the thread) again if you get stuck.
V
Oops... I didn't think I explained myself properly.
The AE Buttons is WORKING. It's the normal shortcut link that I can't get to work... and that's the thing I really need to get working.
Sorry, my bad, didn't read it properly.
I normally put example shortcuts in my cabs, but curiously I've got none in the cab on my phone. Can't believe the app is nearly 5 years old! Wow.
Anyway, I just tried making a shortcut.
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
If that works, just change the parameter to do what you want.
What app are you using to create shortcuts?
And what's the significance of the \p\f in your first post?
V
A bit more information...
I tried to write a simple MortScript to run this as well. According to the MortScript manual, to run an app, you use this command:
Run ( "\path\AppName" [,"Parameter"] )
In other words, the path and the command first, and then put in the optional parameter. When I put in just the app name:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" )
And run the script, I get the little help popup as I would expect. When I put in the parameter:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" , "97" )
Nothing happens.
vijay555 said:
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
Click to expand...
Click to collapse
Okay... well that locked the phone fine.
If that works, just change the parameter to do what you want.
Click to expand...
Click to collapse
I'm using both the text editor on Windows and Word on my PPC (not saving it in Word Format when prompted).
What app are you using to create shortcuts?
Click to expand...
Click to collapse
Just Copy the original file and then paste as shortcut.
And what's the significance of the \p\f in your first post?
Click to expand...
Click to collapse
Didn't feel like typing out \Program Files\.
Okay, so using the '133' definitely worked, but when I change it to 97 (the code to send NumPad1), it doesn't work.
But it DOES work when I tell AE Buttons to run VJKeyPress with the parameter of 97. Ugh... very odd.
Just for the fun of it, I also tried setting up a button in AE Buttons to run the shortcut that has '97' in it. That didn't work. I'm at a complete loss to figure out what's going on.
It may be that the keypress is occurring, but it's being fed into AE Buttons rather than the Phone Dialler, ie if when you press the required button, AE Button becomes active, which launches VJKeyPress, which presses 1 <b>within</b> AE Button, not the phone dialler.
You could test this by trying other keys and seeing what happens.
Also try activating Word or something else on your phone and launch the shortcut - see if the desired key gets pressed.
Also, you said NumPad1 - this is the number pad on a pc keyboard.
Try 49, which is just key 1.
V

Categories

Resources