Blender Version
v2.76b
Short description of error
I do not have a numpad on this (small mechanical) keyboard, so I tried to remap the view3d.layers key bindings to use the ALT key. It seems that the code for toggling and extending a layer checks internally if ALT or SHIFT is pressed, so it is currently impossible to bind say Alt+1 to toggle layer 1. Similar issues for using SHIFT or CTRL keys exist. Fixing this would be of great help to those without a numpad.
Exact steps for others to reproduce the error
- Edit User Preferences
- Select Input Tab
- Search for Key-Binding: 1
- Rebind the 3D View / Layers mapping from 1 to Alt 1
- Notice how Layer 11 is now selected when pressing the hotkey. Alt seems to be used to imply 'Add 10 to the layer'. If Shift 1 is used (and the other camera hotkey disabled), Shift appears to override the toggle behavior and force it to "Extend" similar to how it works on the Layers UI control.
Note: This seems to be a bug regardless of having Emulate Keypad enabled.