Skip to content

Commit

Permalink
fc660c: Add unimap
Browse files Browse the repository at this point in the history
  • Loading branch information
tmk committed Apr 5, 2017
1 parent 2ed3abb commit 4befc87
Show file tree
Hide file tree
Showing 7 changed files with 1,422 additions and 106 deletions.
7 changes: 4 additions & 3 deletions keyboard/fc660c/Makefile
Expand Up @@ -73,9 +73,9 @@ EXTRAKEY_ENABLE ?= yes # Audio control and System control
CONSOLE_ENABLE ?= yes # Console for debug
COMMAND_ENABLE ?= yes # Commands for debug and configuration
NKRO_ENABLE ?= yes # USB Nkey Rollover
#UNIMAP_ENABLE ?= yes # Universal keymap
ACTIONMAP_ENABLE ?= yes # Use 16bit actionmap instead of 8bit keymap
#KEYMAP_SECTION_ENABLE ?= yes # fixed address keymap for keymap editor
#ACTIONMAP_ENABLE ?= yes # Use 16bit actionmap instead of 8bit keymap
UNIMAP_ENABLE ?= yes # Universal keymap
KEYMAP_SECTION_ENABLE ?= yes # fixed address keymap for keymap editor

#OPT_DEFS += -DNO_ACTION_TAPPING
#OPT_DEFS += -DNO_ACTION_LAYER
Expand All @@ -87,6 +87,7 @@ ACTIONMAP_ENABLE ?= yes # Use 16bit actionmap instead of 8bit keymap
#
ifeq (yes,$(strip $(UNIMAP_ENABLE)))
KEYMAP_FILE = unimap
TARGET := $(TARGET)_unimap
else
ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
KEYMAP_FILE = actionmap
Expand Down
10 changes: 7 additions & 3 deletions keyboard/fc660c/README.md
Expand Up @@ -65,7 +65,7 @@ Row5-7 have no key, you can omit scaning on those lines. Topre original controll
| 7| | | | | | | | | | | | | | | | |

Logic analyzer pics:
- https://i.imgur.com/9SZUzYo.jpg
- http://i.imgur.com/9XoNTev.png
- https://i.imgur.com/5FCP1Ay.png

This code emuluates what original cotnroller does for matrix scan.
Expand Down Expand Up @@ -129,11 +129,15 @@ Datasheets

3.3V power supply
-----------------
LV07A and LVC138A are 5V-tolerant and can be powered with 5V, the keyboard will work only with 5V power supply.
It may not be completely safe to operate LV138A with 5V Vcc, its datasheet says:
LV07A and LVC138A are 5V-tolerant and can be powered with 5V, the keyboard will work only with 5V power supply. It may not be completely safe to operate LV138A with 5V Vcc, its datasheet says:

> Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
Digipot AD5258
--------------
Controller can operate AD5258 via I2C to change actuation point of keys. This may make keyboard unusable accidentally and it will be difficult to recovery in some situation. For safety firmware doesn't support it at this point, though.

Lower value of RDAC register causes shallower actuation point.

Resources
---------
Expand Down
86 changes: 0 additions & 86 deletions keyboard/fc660c/actionmap.c

This file was deleted.

0 comments on commit 4befc87

Please sign in to comment.