- open
regedit - go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
- right click on the empty area (that shows when you click on Keyboard Layout)
- select
newand thenbinary value - change the name to
Scancode Mapand open it - fill the 1st column with 0's (e.g. 00 00 00 00 00 00 00 00)
- for the 2nd column type 02 00 00 00 scan_code_to_map_to 00 00 scan_code_to_map_from where, scan_code_to_map_to and scan_code_to_map_from is the hex number of scan code of a key (e.g. 3A for caps lock) //google for the scan codechart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package demo.plain; | |
| import org.keycloak.OAuth2Constants; | |
| import org.keycloak.admin.client.CreatedResponseUtil; | |
| import org.keycloak.admin.client.Keycloak; | |
| import org.keycloak.admin.client.KeycloakBuilder; | |
| import org.keycloak.admin.client.resource.RealmResource; | |
| import org.keycloak.admin.client.resource.UserResource; | |
| import org.keycloak.admin.client.resource.UsersResource; | |
| import org.keycloak.representations.idm.ClientRepresentation; |