Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: Keyboard shorcuts overlay
When I double-press Opt a nice visual diagram appears over the browser window to display the keyboard mapping.

I've customised my keyboard mapping, but now the shortcuts are trying to display the full script text, which doesn't fit and isn't readable. Is there a way to override the display text?

For example, for the key that has the code

deck 1 select & var $space ? cue_button : beatjump +4


I'd like to set the overlay text to be something like "Jump +4 / Cue"

Thanks
 

Mensajes Thu 11 Apr 24 @ 6:32 pm
Yes, but you'll need to edit the keyboard mapper XML file outside VirtualDJ:
  • Open VirtualDJ
  • Open Settings
  • Click on "Options" tab on the left
  • On the bottom right corner of the settings window press the cog icon that's there.
    A new Explorer/Finder window should appear, presenting VirtualDJ's "home" folder.
  • Close Settings
  • Close VirtualDJ
  • On the Explorer/Finder window that opened up before, enter the "Mappers" subfolder
  • Locate the "Keyboard - Custom Mapper.xml" file.
  • Open the file in a TEXT editor. If you're on windows, use Notepad or Notepad++. If you're on MAC, use TextEdit.
  • Locate the line you wish to enter a label for.
    Example: <map value="CTRL+ALT+R" action="relay_play" />
  • Now on the end of the line enter a name attribute like this:
    <map value="CTRL+ALT+R" action="relay_play" name="RELAY" />
    Keep in mind that you're editing an XML file. Therefore, some characters are illegal and must be escaped.
    If you need to use single or double quote, ampersand, or greater/less than symbols, please Google how you can escape them.
    I would provide an example, but the forum will automatically eascpe the text and it will look the same.
  • Save the file
  • Start VirtualDJ


You're done!
 

Mensajes Fri 12 Apr 24 @ 12:34 pm
locoDogPRO InfinityModeratorMember since 2013
XML escape codes

< = &lt;
> = &gt;
& = &amp;
" = &quot;
' = &apos;
 

Mensajes Fri 12 Apr 24 @ 1:15 pm
That's brilliant, worked perfectly.

Any idea if there's an escape sequence to enter a newline in the string? At the moment I'm literally pressing enter, like this:

	<map value="ALT+1" name="Beat +4
Level +" action="deck 1 select & var $space ? level +4% : beatjump +4" />
 

Mensajes Fri 12 Apr 24 @ 6:06 pm