managed to fix it. everything almost working fine.
i am using this layout.
["esc",{a:0},"!\n1\n\n\nf1","\"\n2\n\n\nf2","£\n3\n\n\nf3","$\n4\n\n\nf4","%\n5\n\n\nf5","^\n6\n\n\nf6","&\n7\n\n\nf7","*\n8\n\n\nf8","(\n9\n\n\nf9",")\n0\n\n\nf10",{a:4},"_\n-","+\n=",{w:2},"Backspace"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{x:0.25,w:1.25,h:2,w2:1.5,h2:1,x2:-0.25},"Enter"],
[{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","@\n'","~\n#"],
[{w:1.25},"Shift","|\n\","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"Shift","del"],
[{w:1.25},"Ctrl",{w:1.25},"Win",{w:1.25},"Alt",{w:6.25},"space",{w:1.25},"AltGr",{w:1.25},"Win",{w:1.25},"fn0",{w:1.25},"Ctrl"]
no matter how hard i try i cannot get \ to work. it always registers as a #
anyone got any ideas?