|
|
|
11-13-2017, 08:27 PM
|
#1
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
gfx.getchar() does not return anything when using Ctrl/Alt + number keys (Win7)
When pressing Ctrl/Alt and any key of the row above the letters ( 1234567890-= ), gfx.getchar() does not return anything. The same applies to any modifier key combination that involves either the Alt or the Ctrl (for example Shift + Alt).
Furtermore, the F keys (F1-F12) return the same value no matter if a modifier key is pressed together.
All this on Windows 7 x64
|
|
|
11-15-2017, 07:36 AM
|
#2
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
You can use "cfillion_GFX Keyboard Inspector.lua" (found in ReaPack) for a quick demonstration of the bug
|
|
|
11-18-2017, 09:01 AM
|
#3
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
A .gif that shows the bug:
|
|
|
11-25-2017, 09:13 AM
|
#4
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
bump...
|
|
|
12-18-2017, 07:26 AM
|
#5
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
another bump, since this is useful for scripting
|
|
|
01-01-2018, 09:39 PM
|
#6
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
another bump...
Would be nice if someone could confirm the bug in his/her system in this thread
|
|
|
01-01-2018, 11:03 PM
|
#7
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,910
|
Quote:
Originally Posted by cfillion
I can reproduce on Windows. It works when using the numpad. All number keys are correctly detected on macOS and Linux with any modifiers.
I was going to suggest using gfx.getchar(49) as a workaround but it doesn't seem to work right either on Windows: once it returns 1.0 (for a number key press) it doesn't go back to 0.0 when the key is released until the GFX window loses focus...
|
|
|
|
01-02-2018, 09:38 AM
|
#8
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,450
|
Thanks cfillion for confirming it here too.
Hopefully, the devs can fix it
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:57 AM.
|