Author Topic: Easy AVR USB Keyboard Firmware and Keymapper  (Read 632721 times)

0 Members and 1 Guest are viewing this topic.

Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2500 on: Wed, 26 February 2020, 05:08:58 »
Hello everyone, How could I configure a key "One Shot Keys"  in EasyAVR (easykeymap.exe)?
that is, I want to press the shift key once and release it, then press a normal key and
run in capital letters only that first time.
I cant find the solution, :(

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4934
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2501 on: Wed, 26 February 2020, 20:44:11 »
Hello everyone, How could I configure a key "One Shot Keys"  in EasyAVR (easykeymap.exe)?
that is, I want to press the shift key once and release it, then press a normal key and
run in capital letters only that first time.
I cant find the solution, :(
I don't think EasyAVR supports that right now. It's an interesting idea. Basically a temporary mod lock. I'll try and think of something

Sent from my Pixel 3 XL using Tapatalk


Offline ErgoMacros

  • Posts: 306
  • Location: SF Bay Area
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2502 on: Wed, 26 February 2020, 23:37:38 »
Hi,
You may be able to do this with settings in your OS, with "Sticky Keys"
Setable in the control panel.

The "disadvantage" is that it turns the feature on/off for Ctrl, Win, and Alt too.
But, if you press and hold shift like you're doing today, it still acts like a normal shift. So no harm done.
Today's quote: '...“but then the customer successfully broke that.”

Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2503 on: Thu, 27 February 2020, 01:20:06 »
With autohotkey I have a solution
but is not a clean solution, been the keyboard programmable and when changing PC, is easy to loss the autohotkey script.

------------------------------
$shift::
   Input, OutputVar, L1
   Send +%OutputVar%
-----------------------------
It is not clean because Input wait for letter key only.
It works but I would like as an smart Easy Avr feature.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4934
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2504 on: Thu, 05 March 2020, 21:42:01 »
Hello everyone, How could I configure a key "One Shot Keys"  in EasyAVR (easykeymap.exe)?
that is, I want to press the shift key once and release it, then press a normal key and
run in capital letters only that first time.
I cant find the solution, :(

Released version 3.2.1 with this feature

https://github.com/dhowland/EasyAVR/releases/tag/v3.02.01

Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2505 on: Sat, 07 March 2020, 11:25:30 »
Very thankful,  :)

Offline suicidal_orange

  • * Global Moderator
  • Posts: 3530
  • Location: England
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2506 on: Sun, 08 March 2020, 13:12:42 »
8 mods?!  Shift, ctrl, win, alt, alt gr...  I guess JIS has different uses for all the right side mods?  More is always better, great work as always :thumb:
                               
Ducky Zero, MX Reds    JD40, Jailhouse Blues           GH60
Soarer controller

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4934
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2507 on: Sun, 08 March 2020, 13:28:21 »
8 mods?!  Shift, ctrl, win, alt, alt gr...  I guess JIS has different uses for all the right side mods?  More is always better, great work as always :thumb:

Since the beginning people have been asking for either left or right mods.  This fixes it once and for all.

Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2508 on: Sat, 14 March 2020, 02:28:36 »
Can I use 5 LEDs independents as indicators ?

Using Teensy 2++,
for this options: capital letters, Fn0, Fn1, Fn2, Fn3

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4934
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2509 on: Sat, 14 March 2020, 06:01:39 »
Can I use 5 LEDs independents as indicators ?

Using Teensy 2++,
for this options: capital letters, Fn0, Fn1, Fn2, Fn3
I'm not following. Is it a handwired board?

Sent from my Pixel 3 XL using Tapatalk


Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2510 on: Sat, 14 March 2020, 07:18:06 »
It is wired same as a Planck, in reality as split planck with 2 PCB for 6x4 keys each, then connected by 2 wires 10 cores with a box that have the Teensy 2.0++ and goes out by USB connector.

I have made before another model hand wired based in same scheme of Planck, wiring is 4x12 in reality, but split too. With Teensy 2.0

My idea is that I can add easily leds to the box of microcontroller.
When testing (learning typing) I have found in some cases that I need info of what layout was active in an easy manner. But dont want decipher blink.

About leds,I need the info, by now the design is without leds.

Offline suicidal_orange

  • * Global Moderator
  • Posts: 3530
  • Location: England
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2511 on: Sun, 15 March 2020, 07:35:52 »
I think you can use as many LEDs as indicators as you have spare pins, there might be a limit but it's definitely more than 5 because the GH60 config file (snippet below) uses 5.  The names 'Caps key' 'Esc Key' 'WASD' etc are so you know where the LED is, the next bit is the thing they indicate by default (can be changed in the mapper)

Code: [Select]
num_leds = 5
num_ind = 5
num_bl_enab = 4

led_definition = [
    ('Caps Key', 'Caps Lock'),
    ('Esc Key', 'Num Lock'),
    ('WASD', 'Fn Active'),
    ('Poker Arrows', 'Fn2 Active'),
    ('Fn Key', 'Fn3 Active')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTB, 2, LED_DRIVER_PULLDOWN ),
    ( REF_PORTF, 6, LED_DRIVER_PULLDOWN ),
    ( REF_PORTF, 7, LED_DRIVER_PULLDOWN ),
    ( REF_PORTF, 4, LED_DRIVER_PULLDOWN ),
    ( REF_PORTF, 5, LED_DRIVER_PULLDOWN )

Obviously you'll need to change the pins and PULLUP/PULLDOWN depending on your wiring :)
« Last Edit: Sun, 15 March 2020, 07:42:53 by suicidal_orange »
                               
Ducky Zero, MX Reds    JD40, Jailhouse Blues           GH60
Soarer controller

Offline Ongoe

  • Posts: 6
Re: Easy AVR USB Keyboard Firmware and Keymapper
« Reply #2512 on: Sun, 15 March 2020, 08:09:34 »
suicidal_orange, thank you, I think is the info I need