Assigning shortcuts: Lots of keyboard keys unknown to Blender (international keyboard layout) #72692

Open
opened 2019-12-25 18:36:31 +01:00 by Jeremy Pouillot · 15 comments

System Information
Operating system: Ubuntu 18.04
Graphics card: GeForce GTX 1060

Blender Version
Broken: 2.81a, 2.79, 2.81
Worked: (optional)

Short description of error

I want to use '<' key (grless in windows) as shortcut, like I have in Windows but it doesn't work with "unsupported key: unknown" message. The same behavior append with '^', '$', ':', '!' keys (maybe some more, didn't test) . All these keys work in all other apps.
I have a french azerty keyboard and tried multiple keyboard configurations without success.

Exact steps for others to reproduce the error
Install Ubuntu 18.04, install Blender 2.81a, plug a french azerty keyboard, try to change a shortcut with the mentioned keys.

Adding some more info, the keys works in Blender console and text editor, it's only the shortcut assignation that doesn't work.

I'm open to make some more testing if needed.

**System Information** Operating system: Ubuntu 18.04 Graphics card: GeForce GTX 1060 **Blender Version** Broken: 2.81a, 2.79, 2.81 Worked: (optional) **Short description of error** I want to use '<' key (grless in windows) as shortcut, like I have in Windows but it doesn't work with "unsupported key: unknown" message. The same behavior append with '^', '$', ':', '!' keys (maybe some more, didn't test) . All these keys work in all other apps. I have a french azerty keyboard and tried multiple keyboard configurations without success. **Exact steps for others to reproduce the error** Install Ubuntu 18.04, install Blender 2.81a, plug a french azerty keyboard, try to change a shortcut with the mentioned keys. Adding some more info, the keys works in Blender console and text editor, it's only the shortcut assignation that doesn't work. I'm open to make some more testing if needed.

Added subscriber: @Dieedi

Added subscriber: @Dieedi

It seems that it's because Blender only know some types in key_modifier Enum like GRLESS. I didn't find a way to get the key to send grless to blender.

Find a workaround with xmodmap to make '<' key to send 'F9' which I never use and then set my shortcut with the key...

It seems that it's because Blender only know some types in key_modifier Enum like GRLESS. I didn't find a way to get the key to send grless to blender. Find a workaround with xmodmap to make '<' key to send 'F9' which I never use and then set my shortcut with the key...
Member

Added subscriber: @DanielBystedt

Added subscriber: @DanielBystedt
Member

Using "<" as hotkey works in Windows, but I haven't got Ubuntu installed so it's not possible for me to try that

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2019-12-24 16:58, hash: 33eabb8220

image.png

Using "<" as hotkey works in Windows, but I haven't got Ubuntu installed so it's not possible for me to try that **System Information** Operating system: Windows-10-10.0.17763-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2019-12-24 16:58, hash: `33eabb8220` ![image.png](https://archive.blender.org/developer/F8244540/image.png)

Added subscriber: @bent

Added subscriber: @bent
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

I am getting this, too (Fedora with a german keyboard), not sure who is to blame here though...

UNKNOWNKEY = 0x00ab, /* 171 */
OSKEY = 0x00ac,      /* 172 */
GRLESSKEY = 0x00ad,  /* 173 */

Confirming for now, will let others decide...

I am getting this, too (Fedora with a german keyboard), not sure who is to blame here though... ``` UNKNOWNKEY = 0x00ab, /* 171 */ OSKEY = 0x00ac, /* 172 */ GRLESSKEY = 0x00ad, /* 173 */ ``` Confirming for now, will let others decide...
Philipp Oeser changed title from Lots of keys unknown by Blender to Assigning shortcuts: Lots of keyboard keys unknown to Blender (international keyboard layout) 2020-01-13 13:56:44 +01:00

Added subscriber: @mont29

Added subscriber: @mont29

Relatively poor support of non-english keyboard layouts is known issue since forever… We even have some hacks in code to support some most important things (like to “make work” number keys above letters ones, which on many non-english layouts require shift modifier).

Proper handling of this would require quiet a bit of design and implementation work though.

Relatively poor support of non-english keyboard layouts is known issue since forever… We even have some hacks in code to support some most important things (like to “make work” number keys above letters ones, which on many non-english layouts require shift modifier). Proper handling of this would require quiet a bit of design and implementation work though.

Added subscriber: @La_Mourre

Added subscriber: @La_Mourre

Added subscriber: @Jummit

Added subscriber: @Jummit

Added subscriber: @TR4

Added subscriber: @TR4

Added subscriber: @fortinmike

Added subscriber: @fortinmike
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:25:00 +01:00

FWIW, this is my current work-around (for add-on modals)

FWIW, this is my current [work-around](https://blenderartists.org/t/kekit-for-blender-2-8/1200740/2169?u=kiellog) (for add-on modals)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
10 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#72692
No description provided.