Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow keyboard to wake computer from sleep #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DDRBoxman
Copy link

Pull request for @tulth 's diff file in issue #21

@squarefrog
Copy link
Collaborator

Tried this on my fork, works well with OS X! 👍

@squarefrog squarefrog mentioned this pull request Jun 12, 2016
8 tasks
@wobbol
Copy link

wobbol commented Jul 15, 2016

This is a hack. Upstream(tmk) would not be a smart guy to merge this.

A cursory glance at the LUFA library docs tells me that USB_DeviceState holds one of enum USB_Device_States_t of which DEVICE_STATE_Configured is a member.

DEVICE_STATE_Configured roughly means the device has been enumerated and is ready.

In english I read power_down(uinit8_t) as:

  • call power_down
  • check if device is working if so do nothing else,
  • preform low level power down bit twiddling

I do not understand this logic. If anyone has leads on this I would be gad to hear them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants