-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new Alps SKDN Brown #1
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { | ||
Material, | ||
SpringStainlessSteel, | ||
type Switch, | ||
} from '../../../switch'; | ||
import { Color, Force, Tolerance, Travel } from '../../../types'; | ||
|
||
export default { | ||
model: 'SKDN Brown', | ||
variation: '69g', | ||
profile: 'regular', | ||
stem: 'alps mount', | ||
mount: 'alps', | ||
type: 'tactile', | ||
lifetime: 50, | ||
lighting: 'none', | ||
lubrication: 'none', | ||
datasheet: undefined, | ||
volume: undefined, | ||
spring: SpringStainlessSteel.Regular('gold'), | ||
housing: { | ||
upper: Material.Unspecified(Color.Opaque(COLOR_OTHER)), | ||
lower: Material.Unspecified(Color.Opaque(COLOR_OTHER)), | ||
Comment on lines
+22
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure where |
||
}, | ||
force: { | ||
bottom: undefined, | ||
actuation: Force.GramForce(60), | ||
}, | ||
travel: { | ||
pre: Travel.Millimeter(4.0, Tolerance.PlusMinus(0.2)), | ||
total: undefined, | ||
}, | ||
} satisfies Switch; |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,7 @@ | ||||||
import { Brand } from '../../../switch'; | ||||||
import jadeGreen62g from './SKDN'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
export default { | ||||||
name: 'Alps', | ||||||
switches: [SKDN], | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} satisfies Brand; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { CollectionInterface } from '../../collection'; | ||
import alps from './alps'; | ||
|
||
export default (collection: CollectionInterface): void => { | ||
collection.add({ name: 'Alps', brands: [alps] }); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will have to define ALPS stem, as I haven't defined it yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see how I did it for MX stem