BACK
TO
TOP
The SRP-F310II 3-inch (80mm) thermal printer, offers a front exit, splash proof design, featuring BIXOLON’s Liquid-Barrier™ technology and built-in power supply. Producing 180dpi or 300dpi printed media at an impressive 350mm/second makes it suitable for a number of applications in Retail, Hospitality, Healthcare, Warehousing and more.
private matches(pressed: string, bindingKeys: string[]): boolean return bindingKeys.some(k => this.normalizeKeyString(k) === pressed);
private normalizeKeyString(keys: string): string return keys.toLowerCase().replace(/\s/g, ""); keybinding
private normalizeEvent(e: KeyboardEvent): string const parts = []; if (e.ctrlKey) parts.push("ctrl"); if (e.shiftKey) parts.push("shift"); if (e.altKey) parts.push("alt"); if (e.metaKey) parts.push("meta"); parts.push(e.key.toLowerCase()); return parts.join("+"); private matches(pressed: string
return ( <table> bindings.map(b => ( <tr key=b.id> <td>b.label</td> <td> <kbd>b.userKeys?.join(" or ") ?? b.defaultKeys.join(" or ")</kbd> <button onClick=() => capture(b.id)> recording === b.id ? "Press keys..." : "Remap" </button> </td> </tr> )) </table> ); this.normalizeKeyString(k) === pressed)
✅ Manager class with registration, remapping, context support ✅ React hook + provider integration ✅ UI panel for user customization ✅ Conflict detection (optional but recommended) ✅ Local storage persistence ✅ Keyboard normalization & matching
on(id: string, callback: () => void) if (!this.listeners.has(id)) this.listeners.set(id, new Set()); this.listeners.get(id)!.add(callback);
function KeybindingSettings( bindings, onRemap ) null>(null); const capture = (id: string) => setRecording(id); const handler = (e: KeyboardEvent) => e.preventDefault(); const keys = normalizeEvent(e); onRemap(id, [keys]); setRecording(null); window.removeEventListener("keydown", handler); ; window.addEventListener("keydown", handler); ;
BEFORE DOWNLOADING SOFTWARE, OR OTHER CONTENT AVAILABLE ON THIS WEBSITE, YOU WILL NEED TO REVIEW AND AGREE UPON THE TERMS AND CONDITIONS SET BELOW. THESE TERMS AND CONDITIONS MUST BE FOLLOWED WHEN USING THE SOFTWARE AND OTHER CONTENT PROVIDED.