Commit Graph

372 Commits (partial-rewrite)

Author SHA1 Message Date
Ben Blazak ebb353b3f2 adding todos and ideas; mostly from thanatermesis 2014-10-11 15:28:41 -07:00
Ben Blazak 73341cd9a1 (added placeholder css stylesheet) 2014-07-31 19:51:17 -07:00
Ben Blazak 737428aec8 (minor cleanup; starting some changes in layout files) 2014-06-21 21:05:29 -07:00
Ben Blazak 84fa10fb5f changing debounce back to 5ms by default
to see how it works -- now testing with my original cherry blue
prototype board (with no case)
2014-06-16 15:34:50 -07:00
Ben Blazak d384925813 (added todo) 2014-06-10 19:54:53 -07:00
Ben Blazak cff9b31a76 layout-gen: just playing around :) 2014-06-10 19:39:59 -07:00
Ben Blazak a67d215524 (just looking at layout-gen some more) 2014-06-02 23:56:23 -07:00
Ben Blazak 8342b0be46 layout-gen: still testing stuff
will probably have to take a break for a while

javascript looks promising :) .  this application just lends itself so
well to state!  or maybe it's because i'm not used to programming in a
pure functional language like Elm...  Elm is fun though :)

decided not to write a second test for Elm.  partly because i didn't
have time.  what i wanted to try was doing things based on the Elm
calculator example.  I haven't tried using buttons yet, and they might
work out.  then again, it might turn out to be a whole lot easier in
javascript.  and then it would be a bit more portable as well...

so i suppose i'm leaning towards javascript.  we'll see :)
2014-06-02 01:39:31 -07:00
Ben Blazak 620221bd20 ui: going to try using elm a bit differently 2014-06-01 01:50:24 -07:00
Ben Blazak 203cb66b26 small cleanup; gonna try javascript 2014-05-31 22:53:50 -07:00
Ben Blazak f3635dc579 got it to draw the keyboard :) really slow 2014-05-31 22:49:28 -07:00
Ben Blazak c32f396e31 background's just about done! :) 2014-05-30 02:04:58 -07:00
Ben Blazak 5e931a7481 starting an experiment with a layout generator
this will likely be in development for a long time, if it ever amounts
to anything at all
2014-05-29 23:16:44 -07:00
Ben Blazak f980028d82 cleaned up a bit; minor bugfix 2014-05-27 23:05:00 -07:00
Ben Blazak 74c685a8b4 fixing up the ...exec_key...() functions
just need to implement eeprom_macro's in a layout now, to test them!
2014-05-27 21:42:01 -07:00
Ben Blazak c5afdb9659 (working: eeprom-macro: looked over public functions)
almost done with this module!
2014-05-27 15:44:31 -07:00
Ben Blazak 24f4aca7c8 (working: eeprom-macro: went over compress()) 2014-05-27 14:33:40 -07:00
Ben Blazak e8ad0d91c0 (working: eeprom-macro)
rough draft done!  need to finish -- and check it *thoroughly* to make
sure it works (and to clean it up) :)
2014-05-26 23:28:08 -07:00
Ben Blazak b099061e6a (working: eeprom-macro) 2014-05-26 20:29:08 -07:00
Ben Blazak 0fd92b5840 (working: eeprom-macro)
there are a few warnings during compile, but only about functions not
being used.  it's okay: they'll be used soon enough.
2014-05-26 15:54:13 -07:00
Ben Blazak 49e8f32a60 (working: eeprom-macro + minor updates) 2014-05-26 14:42:50 -07:00
Ben Blazak 5647b58120 (working: eeprom-macro: fixed typo) 2014-05-25 19:45:48 -07:00
Ben Blazak 5ee88643fd (working: eeprom-macro) 2014-05-25 19:44:55 -07:00
Ben Blazak 5d35f2ed44 (working: eeprom-macro; woo! finished compress(); will test later)
really, it'd be hard to test any of this stuff until i have it
implemented in the layout; so it might be a while.
2014-05-25 12:46:13 -07:00
Ben Blazak d2d0e1ffab (small aesthetic change) 2014-05-24 22:05:41 -07:00
Ben Blazak 79fec2cff0 (working: eeprom-macro; making progress!) 2014-05-24 21:54:41 -07:00
Ben Blazak 47038151ce (working: eeprom-macro) 2014-05-24 16:30:53 -07:00
Ben Blazak a353e8a5d1 little bit of cleanup 2014-05-24 16:30:36 -07:00
Ben Blazak c50b98922c changing the default scan rate to 100Hz
Thanatermesis (via email) told me that this worked for him, fixing his
issue of having some keys unexpectedly double tap (though, I think he
might have gone down to 50Hz, or something).  since he mentioned it,
i've been noticing my keys double tapping sometimes (on one of my brown
boards, with an acrylic case... it didn't seem to happen at all with my
blue caseless board...), so i decided to give this a try :)
2014-05-23 09:53:03 -07:00
Ben Blazak 881bdf6f94 working on eeprom_macro: wrote find_key_action() 2014-05-22 01:34:02 -07:00
Ben Blazak 3219738831 quick status update 2014-04-12 14:42:07 -07:00
Ben Blazak 1ed4e02e5d (forgot to mention my source) 2014-03-24 22:16:49 -07:00
Ben Blazak faf96737a0 added todo (keyboard debugging tip) 2014-03-24 22:14:20 -07:00
Ben Blazak 3aec8246ea small layout changes (also, qwerty--ben is now the default) 2014-03-08 13:50:43 -08:00
Ben Blazak 57edc24c49 (removed some latent unnecessary semicolons) 2014-02-17 23:36:02 -08:00
Ben Blazak b5101045be light layer leds only when locking 2014-02-09 12:00:15 -08:00
Ben Blazak b58439380a added a qwerty layout for myself; fixed a couple includes 2014-01-23 19:55:37 -08:00
Ben Blazak db52b78324 starting to work on an arensito type layout 2014-01-22 21:54:36 -08:00
Ben Blazak e83f2a3325 messing about with layouts :)
- changed how things are organized
- LEDs now indicate layers!  layers 1 and 2 have a corresponding LED,
  along with capslock (which also kinda needs one)
- this organization of things is not final.  but i hope (and think) it's
  a little better :)
2014-01-21 18:08:33 -08:00
Ben Blazak fdc5d836c3 (thinking) 2014-01-19 18:01:42 -08:00
Ben Blazak 0c0efafd7b (small doc update) 2014-01-19 17:48:56 -08:00
Ben Blazak 4a5014d3a3 changed all-layouts, and the clean targets 2014-01-19 17:46:50 -08:00
Ben Blazak 90f598ebe5 removed makefile dependency on git; fixed *.dep generation 2014-01-15 13:25:33 -08:00
Ben Blazak bcdbc2e37e added a test layout, and an `all-layouts` target to the makefile 2014-01-13 20:25:49 -08:00
Ben Blazak 24884d470a removed comment
static variables are initialized to 0 by the compiler, per the standard
2014-01-04 21:57:40 -08:00
Ben Blazak d607d7de3e misc; mostly docs, function stubs, and thinking 2013-12-30 01:13:23 -08:00
Ben Blazak 9df12828d0 mostly small stuff, documentation, and thinking 2013-12-29 20:15:44 -08:00
Ben Blazak eec0923dca (removed a few comments) 2013-12-27 17:35:09 -08:00
Ben Blazak b41a716631 working on eemprom-macro :) 2013-12-27 17:29:19 -08:00
Ben Blazak f0fcfca4ef UNTESTED: still playing with eeprom-macro
originally, it seemed that the little endian version of write...(), and
the big endian version of read...() would be the easiest.  this was
true, when i first wrote the functions.  after optimization, the big
endian write...() got much better, but for some reason, i couldn't quite
crack the little endian read...().  perhaps i'm missing something.  in
any case, the big endian versions of both look quite good to me now, so
they're what i'll be going with.  too bad the little endian versions
didn't quite work out... but i was expecting to go with the big endian
versions anyway, since we'll be reading much more often than writing.

// - sizes for each function (in bytes) (with optimizations on):
//
//                            function  frame  stack
//       read  big endian         154      3     10
//       read  little endian      200      2     10
//       write big endian         160      0      6
//       write little endian      172      0      5

also, note that while optimizing, i was looking only at compiled
function size, and frame and stack usage: actual profiling would have
been a bit difficult, and i don't feel like writing versions of the
algorithms for testing on my laptop right now (though, i might later,
for fun, if i can give it as an assignment to the class i hopefully TA
for next semester - hehe).  i tried to pay attention to the amount of
code inside the loops though, when i was changing things, and i'm under
the impression that the AVR has fairly predictably timed assembly
instructions (1 or 2 cycles each?), so compiled function size seemed
like a good proxy.

done experimenting with this for now.  yay! :) .  i'll remove the extra
code in the next commit.
2013-12-23 22:26:43 -08:00