Git Product home page Git Product logo

Comments (6)

benblazak avatar benblazak commented on August 18, 2024

I've been meaning to mess with that function a little bit, to hopefully help it work with Windows and OS X. But I just remembered that you were the one who started this thread, which makes me think your problem's not with Windows. If you're running OS X, it should work. If Linux, I'm really not sure (since I haven't made time/space to get Linux onto my Mac yet), but I suspect you'll have to modify the part of the implementation of KF(type_string) responsible for sending "unicode sequences" to send something recognizable by whatever flavor you're running. The macros you were originally using this function for only contained characters compatible with 7-bit ASCII, most of which this function treats as normal keypresses/keyreleases.

The documentation for KF(type_string) is here, if you haven't had time to look at it yet, and the implementation is here. You may also wish to see the small helper function just above it, for which i posted a replacement in your thread on Geekhack (though... I haven't had a chance to test it and push to github yet, and I'm not sure if it would make a difference in your situation).

Meanwhile, what OS are you using? And what exactly do you mean by "the appropriate push keys" being held down when pressing the Aries key? Unless those are layer keys that you're holding down, that may be the problem.

OT: Pretty cool that the zodiac sets are "Courtesy of fREW" :)

from ergodox-firmware.

frioux avatar frioux commented on August 18, 2024

I'll take a look at the code you linked to tonight to see if I can figure out how to solve this.

I'm in Ubuntu, so yeah, the one major OS you haven't tested against. As for the "push" keys, I expect I'll type these zodiac keys like, 2 times when showing friends, and then never again, so I put them on layer three. I get confused by changing the state of my keyboard, so my layers are triggered by holding down a key. So to type a zodiac key I press and hold both of the layer1 key and the z key.

Just to make sure I put it in layer 0 and it didn't work. I went ahead and pushed the commit so you can look at it if you want: frioux@d8436a4

Yeah, it was pretty cool that they did that. They actually gave me a free set for coming up with the idea and placing/sizing the legends :D

from ergodox-firmware.

benblazak avatar benblazak commented on August 18, 2024

If you're running Ubuntu with Gnome, you might want to see this part of the Wikipedia entry on unicode input. My guess is that if you change the start sequence to press control + press shift + press u + release u + release shift + release control, and end sequence to press space + release space, things will work. But then those codes will be incompatible with Windows and OS X, if you ever plug your computer into a non-Linux (or perhaps even non-Gnome) system. Sorry for the trouble... Please let me know if this works though (or if something else does), and I'll try to get it in there as an option for others. Thanks :)

from ergodox-firmware.

tmk avatar tmk commented on August 18, 2024

Sending Unicode? Interesting.

I found a HID usage page for Unicode. If I understand it correctly this is a standard method to send Unicode which is independent of OS. But I'm not sure whether major OS's have support for this usage page or not.
http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf (page 108)

benblazak, do you have experience of this?

from ergodox-firmware.

benblazak avatar benblazak commented on August 18, 2024

:)

I've seen that usage page, and I did my best to try it out a little while ago. I wasn't able to get it working though... I'm really not sure whether because its not supported or because I don't know what I'm doing with USB stuff yet. I feel like both are likely true.

I figured I'd try again later, just in case, after I'd learned a bit more. Alternately, if you think it's worth trying before me (since you already know what's going on), I'll be curious to see whether it works.

from ergodox-firmware.

benblazak avatar benblazak commented on August 18, 2024

(Put a note in the source - I'll see if I can add the little bit of linux code later, perhaps with a compilation option, not sure yet. Issue closed for now.)

from ergodox-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.