Convenience Key as Mute Key (Volume for Media , Ringer and Alarm) anyone interested? - BlackBerry KEYone Questions & Answers

I was able to figure out a way to use the convenience key as a mute key.
But you need a tinker a bit (no root).
If anyone is interested I can write up a quick tutorial

Please do!
The options for the convenience key are limited to shortcuts that are (mostly) available from the keyboard

docfreed said:
The options for the convenience key are limited to shortcuts that are (mostly) available from the keyboard
Click to expand...
Click to collapse
posted :fingers-crossed:
https://forum.xda-developers.com/blackberry-keyone/how-to/convenience-key-mute-switch-t3700887

Related

hardware button mapping - without losing defaults

I want to assign more hardware buttons to start apps and perform functions such as 'start' and 'ok' without losing the default set of buttons.
So I want all the buttons you get as default on my xda mini s plus I want to be able select the 'start' button and 'ok' from hardware buttons - like you can when the sliding keyboard is open.
I also want to hardware start tasks, notes etc.
I don't want to use smartskey as doesn't this change the volume slider to page-up/page-down?
There seems to be a couple of apps out there that can enable this e.g. vito button mapper though was wondering if anyone could recommend something inc freeware if poss.
Cheers.
You can edit the smartskey.ini to disable the volume slider and just use the press and hold features of the softkeys. I can't understand why you would want to though. By default smartskey allows the volume slider to function as a volume control in the phone app and in the today screen.
ah ha - I didn't know that.
smart key it is for me then, thanks very much.
Smartskey is the best app on my wizard. You will love it and wonder how you managed without it within the day.
Thanks go to Water, the author.

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.

Could someone please help me with some mortscript?

I basically want to make a script that will scroll through open programs, back and forth (like alt + tab on a pc) by pressing up or down on my volume keys.
(and obviously make it ignore the volume up and down functions)
Im useless when it comes to mortscript and was hoping that someone with better knowledge could work it out, plus others could benefit from something like this. A simple task switcher.
Thanks to anyone who can help.
Maybe you'll find a task manager that supports "external" commands to scroll and then map the volume buttons with AEButton Plus (or was it AEBPlus)

[Q] Can Orientation Lock be Mapped to a Volume Key?

Does anyone know of a way to map orientation lock to a hardware key? My idea is to have the volume down key mapped to orientation and the volume up key to volume, making all the volume changes I need on the screen with the sliders. Any help would be greatly appreciated, thanks!
Well, it is certainly possible to write a program to do such a thing, but it might be easier for you to try Tasker instead. Where it locks orientation on a per app basis.
Sent from my Transformer TF101
Yes there are ways to do it. There have been apps made in the past to make it easy, but they may rely on manufacturer/models.
Adding this in the power prompt seems like the best way to go about it. Root required.

[Q] Change the dock shortcut keys?

Is it possible to reassign the dock's shortcut keys to some other functions? Personally, I never use the AutoBrightness, Screenshot and Media keys - I'd love to be able to assign specific apps to each one - as shortcuts to Gmail or whatever else.
I tried using a key stroke logger but when the special keys are pressed I didn't get a key code. Not sure if there's an easy way. You might want to search the Apps and Themes subforum for assigning keys (I think it's in there somewhere)

Categories

Resources