summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-29have the special keys switch also update KEYSTATE_PHYS. that was likely the ↵reverseknolax
cause of stickymap not working
2017-12-29added an event of rel 0 for the mouse controls, so it doesn't just keep ↵knolax
going until key release
2017-12-29changed MOUSE_DIST back into an intknolax
2017-12-29fixed ld d mismmatch in some of the debug printsknolax
2017-12-29testing revealed that the mouse up and down were reversed, and that ↵knolax
MOUSE_DIST was too high. this changes them.
2017-12-29made DEBUGMODE affect read periods as wellknolax
2017-12-29disabled debug prints for non-debug branchknolax
2017-12-29added DEBUGMODE macro to enable/disable debug prints`knolax
2017-12-29changed all the debug prints to be KERN_DEBUGknolax
2017-12-29added keycode register, this is why the keyevents weren't being read`debugknolax
2017-12-29added more debug prints, it should be printing keycodes now, though i'm ↵knolax
using %d with longs.
2017-12-29Merge branch 'reverse' into debugknolax
2017-12-29Merge branch 'reverse' of https://github.com/knolax/skey into reverseknolax
2017-12-29forgot to change update PHYS_STATE for every call of processkey, not jsut ↵knolax
when there is a risng or falling edge.
2017-12-29fixed typosknolax
2017-12-29added debug prints, testing this in production at the moment, also increased ↵knolax
the scan period back to 1s.
2017-12-29Merge branch 'reverse' of https://github.com/knolax/skey into reverseknolax
oops, forgot to push this
2017-12-29fixed c90 mixed declaration warnings.knolax
2017-12-29added full full keymapknolax
2017-12-29added full functionality to the module. it now sends the correct keypresses ↵knolax
to the input subsystem. As a reminder, i'm using git to upload code to the production system so this code hasn't been tested yet.
2017-12-28finished the keymapknolax
2017-12-28fixed systemd unit file and added a daemon reload to the install target.knolax
2017-12-28added systemd unit to initialize pin modes and load the kernel module on ↵knolax
startup, yet to be tested
2017-12-28removed entry for device, the gpio settings for all pins except bcmpin 15, ↵knolax
which is set to alt0 or RXD mode. messing around with dtoverlays is really a waste of time so i'm moving on to a systemd daemon that just runs the gpio utility to change the pinmodes, and then load the module
2017-12-28fixed the target for installknolax
2017-12-28fixed the format for compatible tag, still doesn't explain why the gpios ↵knolax
aren't being applied right
2017-12-28added install target to makefile, not sure if i have to turn the *.ko file ↵knolax
into a gunzip, so testing this
2017-12-28after some testing, the issues with bcmpins 4 and 15 were indeed that they ↵knolax
were pull-up, this means that the issue lies with the device tree overlay not working as intended. two properties have been added to hopefully make this overlay load as intended. the compatible field has been uncommented as the driver is stable enough to be loaded automatically.
2017-12-27undid 88f06d, this was already done in the production code but i forgot to ↵knolax
update it for git.
2017-12-27made the DTO more proper, the compatible property is still commented outknolax
2017-12-27set pin 4 and 15 to have low values to, this might not actually run.knolax
2017-12-27after switching the position of 4 in column_pins[10] the problem persisted, ↵knolax
i have added lines at the end of init_skey() that explictly set those two pins as input, this is to help debug the issue]
2017-11-14reverted the inverted row pins, the issue was not one of ↵knolax
active_low/active_high, but an incomplete transition to using column pins for input and row pins for output. everything works except for columns 7 and 9(pins 15 and 4) which are always held detected as hgih. testing with the /sysfs interface has shown that pin 4 is electrically sound so it must be an issue with the driver# Please enter the commit message for your changes. Lines starting
2017-12-23fixed typoknolax
2017-12-23fixed typoknolax
2017-12-23fixed testing setupknolax
2017-12-23hopefully fixed setting pins as opposite of what they are, thereby fixing ↵knolax
the issue of the iutput pins not working
2017-12-23making a test, gpio output seems unresponsive at allknolax
2017-12-23switched the output pin states as they might be considered active_low in the ↵knolax
legacy gpio interfacd
2017-12-23fixed typoknolax
2017-12-23changed the function calls to the linux gpio interface to their cansleep ↵knolax
equivalents
2017-12-20added a small sleep between rpin state changesknolax
2017-12-20fixed typoknolax
2017-12-20reversed the roles of the row and column pins to account for an error in the ↵knolax
prototype board.
2017-12-19changed tick rate of update thread for testing purposesHEADmasterknolax
2017-12-19added target in maekfile for making the dtboknolax
2017-12-19actually added the pinsthreadknolax
2017-12-19added device tree overlay to make pins pull down`knolax
2017-12-13reenabled gpio testingknolax
2017-12-13confirmed that adding the metadata allows X11 to autodetect skey_devknolax