cheap 6key device as GKOS keyboard

57 views
Skip to first unread message

Richard Ulrich

unread,
May 3, 2013, 4:35:49 PM5/3/13
to gk...@googlegroups.com
Hi Guys,

I thought about building an AVR keyboard as listed on gkos.com.
But then I found a 6key device very cheap from china.
But now that I connected it to my pc, I'm not sure how to proceed.
It's the following device:
http://dx.com/p/6-key-usb-handle-hid-keyboard-173cm-cable-70892

$ lsusb
Bus 002 Device 008: ID 0c45:7403 Microdia

$ dmesg | tail
[ 1420.508314] usb 2-2.3: new low-speed USB device number 8 using ehci_hcd
[ 1420.606513] usb 2-2.3: New USB device found, idVendor=0c45, idProduct=7403
[ 1420.606526] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1420.606534] usb 2-2.3: Product: HandKeyBoardV1.1
[ 1420.606540] usb 2-2.3: Manufacturer: RDing
[ 1420.612081] input: RDing HandKeyBoardV1.1 as /devices/pci0000:00/0000:00:04.1/usb2/2-2/2-2.3/2-2.3:1.0/input/input14
[ 1420.612405] hid-generic 0003:0C45:7403.0007: input,hidraw4: USB HID v1.10 Keyboard [RDing HandKeyBoardV1.1] on usb-0000:00:04.1-2.3/input0
[ 1420.614883] hid-generic 0003:0C45:7403.0008: hiddev0,hidraw5: USB HID v1.10 Device [RDing HandKeyBoardV1.1] on usb-0000:00:04.1-2.3/input1

I found out on the internet that there are some foot pedals with the exact same USB vendor and device id.
They also generate keyboard presses, and I found information on how to change them using udev keymaps.

But checking the output of "sudo /lib/udev/keymap -i input/event14", I'm not sure that approach is viable for choding.
When I keep key one pressed, I keep getting "a"'s in the output.
Now I add key two, I only get "b"'s in the output, and even when I release key one, there's no notice.

Assuming, the hardware supports it, is it possible to implement a chording keyboard with an udev keymap alone?
Or would I have to write a driver for that?


seppo

unread,
Nov 2, 2013, 5:42:47 AM11/2/13
to gk...@googlegroups.com
I'm afraid you would have to design a driver for the device, but before doing that it would we wise to check that the hardware wiring is done so that each key can be detected independent of each other. I doubt that too because everything is made as simple as possible today.

Pk Sharma

unread,
Nov 2, 2013, 8:43:10 AM11/2/13
to GKOS

I too got this device and was very excited to get one ready h/w -- only to discover later that it does not accept simultaneous key presses ..it will not work for gkos :-(

--
You received this message because you are subscribed to the Google Groups "GKOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gkos+uns...@googlegroups.com.
To post to this group, send email to gk...@googlegroups.com.
Visit this group at http://groups.google.com/group/gkos?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pk Sharma

unread,
Nov 2, 2013, 8:44:58 AM11/2/13
to GKOS

Seppo .. it comes with its own s/w to map the keys .. it does not need a device driver .. but it does not sent multiple keypresses to the pc :-(

--
You received this message because you are subscribed to the Google Groups "GKOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gkos+uns...@googlegroups.com.
To post to this group, send email to gk...@googlegroups.com.

Richard Ulrich

unread,
Nov 21, 2013, 5:15:06 PM11/21/13
to gk...@googlegroups.com
I found another use for the device.
In conjunction with a bluetooth HID module and an AtMega, it makes for a nice GKOS keyboard:
http://blog.ulrichard.ch/?p=1196

Jon Spriggs

unread,
Nov 22, 2013, 4:23:22 AM11/22/13
to gk...@googlegroups.com
Any chance you can provide the sketches you're using for that?
--
Jon "The Nice Guy" Spriggs
Reply all
Reply to author
Forward
0 new messages