Posted  by  admin

Poker 3 Keyboard Layout

Poker 3 Keyboard Layout Rating: 6,1/10 2364 votes
  1. 1.!ANSI or ISO layout with 60% size 2.!Cherry MX inside 3.!Arbitrary programming key code and LED colors 4.!ABS double shot Keycaps 5.!3 layers customization 6.!Built-up 3 kind of layout (Qwerty, Dvorak, Colemak) 7.!Metal bezel Package Content: 1.!Keyboard x 1 2.!USB Cable x 1 Enjoy now for this fantastic tool and your typing feeling.!
  2. UPDATE: The Anne Pro 2 is out and I think it beats both of these keyboards! My review here: Should you get the An.

The Minivan came into being a few years ago when The VanMan ordered a different 40% keyboard (one of the few available at the time), but became irked by a few inefficiencies in the layout.

Poker 3 keyboard layout softwarePoker 3 Keyboard Layout
Python proof-of-concept for a Poker 3 keyboard layout emulator (not completed).

Poker Table Layouts

poker3.py
#!/usr/bin/env python3
# Remaps the Caps Lock key to serve as an alternate function key to enable the
# KBC Poker 3 keyboard layout on other keyboards. Be sure to disable Caps Lock
# before using this ('setxkbmap -option caps:none').
fromevdevimportInputDevice, UInput, categorize, ecodes
# TODO: Figure out how to automatically detect keyboards
dev=InputDevice('/dev/input/event2')
capson=False
ui=UInput()
# Injects a keystroke.
definject(key):
ui.write(ecodes.EV_KEY, key, 1)
ui.write(ecodes.EV_KEY, key, 0)
ui.syn()
# Reads and acts on device input. We're specifically looking for keystrokes.
foreventindev.read_loop():
ifevent.typeecodes.EV_KEY:
# If the use has pressed or is holding Caps Lock, grab all device input.
ifevent.code58:
ifevent.value1:
capson=True
dev.grab()
elifevent.value0:
capson=False
dev.ungrab()
# If Caps Lock is down, check for the keys we're remapping.
elifcapsonTrueand (event.value1orevent.value2):
indices= {
22: ecodes.KEY_PAGEUP,
23: ecodes.KEY_UP,
24: ecodes.KEY_PAGEDOWN,
35: ecodes.KEY_HOME,
36: ecodes.KEY_LEFT,
37: ecodes.KEY_DOWN,
38: ecodes.KEY_RIGHT,
49: ecodes.KEY_END
}
# Try to inject our alternate keystroke.
try:
inject(indices[event.code])
except:
continue

English Keyboard Layouts

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment