keecode logokeecode

henkan

28

conversion

event.keyCode

28

event.key

henkan

event.code

n/a

Unicode

n/a

Code Examples

Copy and paste these examples to detect the henkan key in your JavaScript code

Recommended modern approach

// Modern approach (recommended)
document.addEventListener('keydown', (e) => {
  if (e.key === 'henkan') {
    console.log('henkan key pressed!');
    // Your code here
  }
});

Related Keys

Other keys commonly used together or in similar contexts