seveibar/keyboard-default60
A tscircuit package created by seveibar.
Usage: To import and use the "@tsci/seveibar.keyboard-default60" package: 1. Import the component: ```tsx import { default60 } from "@tsci/seveibar.keyboard-default60" ``` 2. Use in a tscircuit board: ```tsx <board> <KeyMatrix layout={default60} colToMicroPin={[/* column pins */]} rowToMicroPin={[/* row pins */]} /> </board> ``` The package provides a keyboard layout array (`default60`) that can be used with the `KeyMatrix` component from the keyboard utilities package.
- Version
- 1.0.5
- License
- unset
- Stars
- 5
keyboard-layouts/default60.tsx
// biome-ignore lint: This file contains keyboard layout data
export const default60 = [
["~\n`","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{ w: 2 }, "Backspace"],
[{ w: 1.5 },"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{ w: 1.5 },"|\n\\"],
[{ w: 1.75 },"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{ w: 2.25 },"Enter",],
[{ w: 2.25 },"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{ w: 2.75 },"Shift",],
[{ w: 1.25 },"Ctrl",{ w: 1.25 },"Win",{ w: 1.25 },"Alt",{ a: 7, w: 6.25 },"",{ a: 4, w: 1.25 },"Alt",{ w: 1.25 },"Win",{ w: 1.25 },"Menu",{ w: 1.25 },"Ctrl"],
]