Page 1 of 1

Delete Key

Posted: Sat Apr 04, 2015 8:46 pm
by trailpaver
I am using a CAD program, and would like to program the 4th or 5th button to the DELETE key. It isn't in the list of options, am I missing it, or is it called something else?
trailpaver

Re: Delete Key

Posted: Mon Apr 06, 2015 6:04 pm
by phil
"Simulated keystrokes" is the option you are looking for. Then, in there, {DELETE}

Thanks,
Phil

Re: Delete Key

Posted: Thu Oct 08, 2015 4:14 pm
by GaryM
trailpaver wrote:I am using a CAD program, and would like to program the 4th or 5th button to the DELETE key. It isn't in the list of options, am I missing it, or is it called something else?
trailpaver
I am after the same key arrangement but, when I set my key 4 to Simulated Delete and my key 5 to Escape, neither of them works. Does this program work with a Kensington Trackball which is what I am using?

Re: Delete Key

Posted: Thu Oct 08, 2015 7:42 pm
by phil
There is no reason it shouldn't work with such a track ball.
If you open the settings window, do the dropdown buttons (where you selected simulated keystrokes) highlight in orange when you press the buttons? If they do, then XMBC is seeing the messages so it shouldn't have any problem re-mapping them.

If there is no orange highlight - and XMBC is not disabled, then maybe there is a compatibility problem with your device or its driver. Some mice (Logitech) can be configured at the driver level so they dont send the usual windows messages. In this case, XMBC will not work and the configuration must be set to windows default. I have no idea if your trackball behaves in this way.

What device driver is it using? If it is a Generic HID device, it should be OK.

Thanks,
Phil

Re: Delete Key

Posted: Thu Oct 08, 2015 8:48 pm
by GaryM
Just as you suggested I opened "settings" and when I press the reprogrammed buttons they light up in orange. Yet, when I try them, neither the simulated "delete" button (Middle button on my Kensington Trackball model K64325) or the "escape" simulation on button #4 works.

When I go the device manager of my Windows 7 it shows (under mice & pointing devices) that this is an "HID compliant mouse"

Any other suggestions that can get this problem solved would be greatly appreciated.

Re: Delete Key

Posted: Thu Oct 08, 2015 8:52 pm
by phil
OK so if they highlight that's a good start :).

Maybe your configuration is not quite right - can you possible send me a screen-shot of the sim-keys dialog (you wont be able to post images here until you have 4 or 5 posts so you could email it to me - phil [@t] highrez.co.uk. It might also be good to get a copy of your settings file so I can check it over.

It might be useful to enable debug logging so we can see what is going on, but I we can check thats after I have checked our configuration.

Thanks,
Phil

Re: Delete Key

Posted: Thu Aug 03, 2023 8:10 pm
by x1104471081
thanks u

Re: Delete Key

Posted: Sat Aug 26, 2023 3:31 pm
by MeowMeowWithWind
GaryM wrote: Thu Oct 08, 2015 8:48 pm Just as you suggested I opened "settings" and when I press the reprogrammed buttons they light up in orange. Yet, when I try them, neither the simulated "delete" button (Middle button on my Kensington Trackball model K64325) or the "escape" simulation on button #4 works.
Similar problem here: assigned {del} to a mouse button. Upon clicking that button a command is executed, but instead of {del} it seems to be a "cut" command (if no text is highlighted, nothing happens. if text is highlighted, the text disappears and can be pasted afterwards). It doesn't matter in what application I use this command, the result is always the same.

Can you tell me why that is?

Version of the software 2.20.5 portable
Windows Version and edition (x64, x86 etc.) Win10 x64
Language and keyboard layout used German(Swiss)

Re: Delete Key

Posted: Mon Aug 28, 2023 10:34 am
by phil
No I cant, and as the previous user didn't come back to me, Ive no idea if he fixed it himself or if there is still a problem.
Just checked here, and {del} in simulated keystrokes seems to be working as intended.

SHIFT+DEL is a keystroke for CUT - are you holding shift, if has the shift key somehow got "stuck" by another simkey thats gone wrong and not released the key prior?

So more info require - specific configuration details (perhaps a copy of your profile) and perhaps some debug logging might help.

Re: Delete Key

Posted: Tue Aug 29, 2023 9:06 pm
by MeowMeowWithWind
phil wrote: Mon Aug 28, 2023 10:34 am SHIFT+DEL is a keystroke for CUT
I wasn't aware of this and this is precisely where i made the mistake: used shift for switching to layer 2 (for as long as shift is being pressed) resulting in a shift+del command instead of the desired {del} :hide: Thank you for the hint!

Re: Delete Key

Posted: Tue Aug 29, 2023 9:08 pm
by phil
You might be able to get around it then, in the sim key on layer 2, use {release}{shift}{del} (I think that's right) so it will let go of shift programmatically (which shouldn't change the layer back) then press DEL

Re: Delete Key

Posted: Tue Aug 29, 2023 9:32 pm
by MeowMeowWithWind
you're awesome! switching to layer 2 for as long as shift is held and assigning {release}{shift}{del} to the mouse button does exaclty what i want. thank you!

Re: Delete Key

Posted: Tue Aug 29, 2023 9:33 pm
by phil
Great :)