an issue on "~!= Up::Ctrl"

Report problems with documented functionality
ZhuangQu
Posts: 30
Joined: 06 Feb 2022, 20:54

an issue on "~!= Up::Ctrl"

06 Apr 2024, 13:02

when run

Code: Select all

~!= Up::Ctrl
the key history is

Code: Select all

A4  038	 	d	2.31	LAlt           	
BB  00D	 	d	0.14	=              	
BB  00D	h	u	0.05	=              	
11  01D	i	u	0.00	Control        	
A4  038	 	u	0.03	LAlt           	
where the Control only be up and never be down.
when run

Code: Select all

#HotIf 1 == 1
~!= Up::Ctrl
the key history is

Code: Select all

A4  038	 	d	1.84	LAlt           	
BB  00D	 	d	0.36	=              	
BB  00D	h	u	0.06	=              	
11  01D	i	d	0.02	Control        	
A4  038	 	u	0.05	LAlt 
where the Control only be down and never be up.
Both are incomplete. What we expect is

Code: Select all

A4  038	 	d	1.84	LAlt           	
BB  00D	 	d	0.36	=              	
BB  00D	h	u	0.06	=              	
11  01D	i	d	0.02	Control        	
11  01D	i	u	0.00	Control       
A4  038	 	u	0.05	LAlt 
where the Control is down and up.
ZhuangQu
Posts: 30
Joined: 06 Feb 2022, 20:54

Re: an issue on "~!= Up::Ctrl"

09 Apr 2024, 03:42

My version is 2.0.12.
lexikos
Posts: 9593
Joined: 30 Sep 2013, 04:07
Contact:

Re: an issue on "~!= Up::Ctrl"

11 Apr 2024, 21:30

The only bug here is that ~!= Up::Ctrl is not flagged as an error. The purpose of a remapping is to remap one key to another, not the release of a key to another key.

This is probably what you want:

Code: Select all

*~!= Up::Send "{Blind}{Ctrl}"

Return to “Bug Reports”

Who is online

Users browsing this forum: Satheeshkumar and 20 guests